diff options
author | Florian Dold <florian@dold.me> | 2020-12-07 20:24:16 +0100 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2020-12-07 20:24:16 +0100 |
commit | bd88f3f44304f0389322b99ff62572f3f1d7c5c1 (patch) | |
tree | 6bf09d809afa44dce6ebcd6f00d20a2d913e2f6b /packages/taler-wallet-core/src/operations/withdraw.ts | |
parent | bbd65fc4b78bf4b61142417fda44d43d955cb28d (diff) |
backup schema WIP
Diffstat (limited to 'packages/taler-wallet-core/src/operations/withdraw.ts')
-rw-r--r-- | packages/taler-wallet-core/src/operations/withdraw.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/taler-wallet-core/src/operations/withdraw.ts b/packages/taler-wallet-core/src/operations/withdraw.ts index b5670a82d..d09903cbb 100644 --- a/packages/taler-wallet-core/src/operations/withdraw.ts +++ b/packages/taler-wallet-core/src/operations/withdraw.ts @@ -793,9 +793,9 @@ export async function getExchangeWithdrawalInfo( let tosAccepted = false; - if (exchangeInfo.termsOfServiceAcceptedTimestamp) { + if (exchangeInfo.termsOfServiceLastEtag) { if ( - exchangeInfo.termsOfServiceAcceptedEtag == + exchangeInfo.termsOfServiceAcceptedEtag === exchangeInfo.termsOfServiceLastEtag ) { tosAccepted = true; |