summaryrefslogtreecommitdiff
path: root/src/android
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2020-06-21 19:11:50 +0530
committerFlorian Dold <florian.dold@gmail.com>2020-06-21 19:11:50 +0530
commit482a56a4e829db0f950180068b807977ea2fccf3 (patch)
treee362fef8557e934b13e0ff3d0c439fe30ebdf955 /src/android
parent06d9aab47c066fe162752a2dce7b3d2ea32ae470 (diff)
downloadwallet-core-482a56a4e829db0f950180068b807977ea2fccf3.tar.gz
wallet-core-482a56a4e829db0f950180068b807977ea2fccf3.tar.bz2
wallet-core-482a56a4e829db0f950180068b807977ea2fccf3.zip
manual reserve creation for Android
Diffstat (limited to 'src/android')
-rw-r--r--src/android/index.ts6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/android/index.ts b/src/android/index.ts
index a10236cee..4a62a0239 100644
--- a/src/android/index.ts
+++ b/src/android/index.ts
@@ -211,6 +211,12 @@ class AndroidWalletMessageHandler {
const wallet = await this.wp.promise;
return await wallet.confirmPay(args.proposalId, args.sessionId);
}
+ case "createManualReserve": {
+ const wallet = await this.wp.promise;
+ const res = await wallet.createReserve(args);
+ await wallet.confirmReserve({ reservePub: res.reservePub });
+ return res;
+ }
case "startTunnel": {
// this.httpLib.useNfcTunnel = true;
throw Error("not implemented");