diff options
author | Florian Dold <florian.dold@gmail.com> | 2020-03-30 16:04:16 +0530 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2020-03-30 16:04:16 +0530 |
commit | 15e18440dbad55df19977a2eb7053681259afc18 (patch) | |
tree | 8ff56079755bc10d479c7a558e60e5b24b74d68e /src/wallet.ts | |
parent | ad661a63f73606a91b6d6078958c5d0c01d3c05d (diff) | |
download | wallet-core-15e18440dbad55df19977a2eb7053681259afc18.tar.xz |
change applyRefund return signature
Diffstat (limited to 'src/wallet.ts')
-rw-r--r-- | src/wallet.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet.ts b/src/wallet.ts index df83eec84..810b724e7 100644 --- a/src/wallet.ts +++ b/src/wallet.ts @@ -640,7 +640,7 @@ export class Wallet { * Accept a refund, return the contract hash for the contract * that was involved in the refund. */ - async applyRefund(talerRefundUri: string): Promise<string> { + async applyRefund(talerRefundUri: string): Promise<{ contractTermsHash: string }> { return applyRefund(this.ws, talerRefundUri); } |