diff options
author | Florian Dold <florian.dold@gmail.com> | 2019-12-25 19:11:20 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2019-12-25 19:11:20 +0100 |
commit | adebfab94e76ee5d34a4f22d15fc085daef9ae00 (patch) | |
tree | 2dd0f233661fc32d2e5c2ee83750b3616d421359 /src/types/dbTypes.ts | |
parent | 54f7999c63292ca63f5f584c49bdef0b55627d71 (diff) | |
download | wallet-core-adebfab94e76ee5d34a4f22d15fc085daef9ae00.tar.gz wallet-core-adebfab94e76ee5d34a4f22d15fc085daef9ae00.tar.bz2 wallet-core-adebfab94e76ee5d34a4f22d15fc085daef9ae00.zip |
fix and simplify coin selection
Diffstat (limited to 'src/types/dbTypes.ts')
-rw-r--r-- | src/types/dbTypes.ts | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/types/dbTypes.ts b/src/types/dbTypes.ts index 71fe99b6b..b8eca2ddf 100644 --- a/src/types/dbTypes.ts +++ b/src/types/dbTypes.ts @@ -26,7 +26,7 @@ import { AmountJson } from "../util/amounts"; import { Auditor, - CoinPaySig, + CoinDepositPermission, ContractTerms, Denomination, MerchantRefundPermission, @@ -1085,6 +1085,10 @@ export interface AllowedExchangeInfo { exchangePub: string; } +/** + * Data extracted from the contract terms that is relevant for payment + * processing in the wallet. + */ export interface WalletContractData { fulfillmentUrl: string; contractTermsHash: string; @@ -1230,7 +1234,7 @@ export interface ConfigRecord { * Coin that we're depositing ourselves. */ export interface DepositCoin { - coinPaySig: CoinPaySig; + coinPaySig: CoinDepositPermission; /** * Undefined if coin not deposited, otherwise signature |