diff options
author | Florian Dold <florian.dold@gmail.com> | 2020-03-24 16:34:15 +0530 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2020-03-24 16:34:15 +0530 |
commit | a8e342213955de80ebf48972abadbd12e0e7b02a (patch) | |
tree | 417df2e7e71ab75391f7870aa2097c1fbdeb9d76 /src/types/talerTypes.ts | |
parent | 01e83df471802d3253953b00672af0bc879403fe (diff) | |
download | wallet-core-a8e342213955de80ebf48972abadbd12e0e7b02a.tar.xz |
fix recoup response schema / add run-until-done
Diffstat (limited to 'src/types/talerTypes.ts')
-rw-r--r-- | src/types/talerTypes.ts | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/src/types/talerTypes.ts b/src/types/talerTypes.ts index e5be32abe..90751940d 100644 --- a/src/types/talerTypes.ts +++ b/src/types/talerTypes.ts @@ -194,34 +194,6 @@ export class RecoupConfirmation { * provided if refreshed was true. */ old_coin_pub?: string; - - /** - * How much will the exchange pay back (needed by wallet in - * case coin was partially spent and wallet got restored from backup) - */ - amount: string; - - /** - * Time by which the exchange received the /payback request. - */ - timestamp: Timestamp; - - /** - * the EdDSA signature of TALER_PaybackConfirmationPS using a current - * signing key of the exchange affirming the successful - * payback request, and that the exchange promises to transfer the funds - * by the date specified (this allows the exchange delaying the transfer - * a bit to aggregate additional payback requests into a larger one). - */ - exchange_sig: string; - - /** - * Public EdDSA key of the exchange that was used to generate the signature. - * Should match one of the exchange's signing keys from /keys. It is given - * explicitly as the client might otherwise be confused by clock skew as to - * which signing key was used. - */ - exchange_pub: string; } /** @@ -1010,10 +982,6 @@ export const codecForRecoupConfirmation = () => makeCodecForObject<RecoupConfirmation>() .property("reserve_pub", makeCodecOptional(codecForString)) .property("old_coin_pub", makeCodecOptional(codecForString)) - .property("amount", codecForString) - .property("timestamp", codecForTimestamp) - .property("exchange_sig", codecForString) - .property("exchange_pub", codecForString) .build("RecoupConfirmation"), ); |