summaryrefslogtreecommitdiff
path: root/src/types/walletTypes.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2020-05-11 18:03:25 +0530
committerFlorian Dold <florian.dold@gmail.com>2020-05-11 18:03:25 +0530
commit5d6192b0cd356f7e56fa8d6193a2e74233a52f4b (patch)
tree0360ba1d39e6ff081e25045652f457faca8cb879 /src/types/walletTypes.ts
parent7e947ca2cdd8e66ea49822acbad81e7d35289c0a (diff)
downloadwallet-core-5d6192b0cd356f7e56fa8d6193a2e74233a52f4b.tar.gz
wallet-core-5d6192b0cd356f7e56fa8d6193a2e74233a52f4b.tar.bz2
wallet-core-5d6192b0cd356f7e56fa8d6193a2e74233a52f4b.zip
make planchet management during withdrawal O(n) instead of O(n^2)
Diffstat (limited to 'src/types/walletTypes.ts')
-rw-r--r--src/types/walletTypes.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/types/walletTypes.ts b/src/types/walletTypes.ts
index ed334bc47..da87b1c1c 100644
--- a/src/types/walletTypes.ts
+++ b/src/types/walletTypes.ts
@@ -30,9 +30,9 @@
import { AmountJson, codecForAmountJson } from "../util/amounts";
import * as LibtoolVersion from "../util/libtoolVersion";
import {
- DenominationRecord,
ExchangeRecord,
ExchangeWireInfo,
+ DenominationSelectionInfo,
} from "./dbTypes";
import { Timestamp } from "../util/time";
import {
@@ -77,7 +77,7 @@ export interface ExchangeWithdrawDetails {
/**
* Selected denominations for withdraw.
*/
- selectedDenoms: DenominationRecord[];
+ selectedDenoms: DenominationSelectionInfo;
/**
* Fees for withdraw.