manual reserve creation for Android

This commit is contained in:
Florian Dold 2020-06-21 19:11:50 +05:30
parent 06d9aab47c
commit 482a56a4e8
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B

View File

@ -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");