diff options
author | Florian Dold <florian.dold@gmail.com> | 2020-05-11 18:03:25 +0530 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2020-05-11 18:03:25 +0530 |
commit | 5d6192b0cd356f7e56fa8d6193a2e74233a52f4b (patch) | |
tree | 0360ba1d39e6ff081e25045652f457faca8cb879 /src/types/walletTypes.ts | |
parent | 7e947ca2cdd8e66ea49822acbad81e7d35289c0a (diff) | |
download | wallet-core-5d6192b0cd356f7e56fa8d6193a2e74233a52f4b.tar.xz |
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.ts | 4 |
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. |