summaryrefslogtreecommitdiff
path: root/src/wallet.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2020-03-30 16:04:16 +0530
committerFlorian Dold <florian.dold@gmail.com>2020-03-30 16:04:16 +0530
commit15e18440dbad55df19977a2eb7053681259afc18 (patch)
tree8ff56079755bc10d479c7a558e60e5b24b74d68e /src/wallet.ts
parentad661a63f73606a91b6d6078958c5d0c01d3c05d (diff)
downloadwallet-core-15e18440dbad55df19977a2eb7053681259afc18.tar.gz
wallet-core-15e18440dbad55df19977a2eb7053681259afc18.tar.bz2
wallet-core-15e18440dbad55df19977a2eb7053681259afc18.zip
change applyRefund return signature
Diffstat (limited to 'src/wallet.ts')
-rw-r--r--src/wallet.ts2
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);
}