aboutsummaryrefslogtreecommitdiff
path: root/src/wallet.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2020-03-16 17:46:57 +0530
committerFlorian Dold <florian.dold@gmail.com>2020-03-16 17:46:57 +0530
commitcb2fbc7610bed39b98c2fdb18941a22ad6df81b3 (patch)
tree9d299bbcc4d3ffa088b8c1712c23fa9b764604c1 /src/wallet.ts
parent9e2be07cfc2267f817c22105ad2a147bc7f8c33e (diff)
downloadwallet-core-cb2fbc7610bed39b98c2fdb18941a22ad6df81b3.tar.xz
fix another withdrawal state machine bug, add 'show-reserve' to advanced CLI
Diffstat (limited to 'src/wallet.ts')
-rw-r--r--src/wallet.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/wallet.ts b/src/wallet.ts
index 291143761..6245941a1 100644
--- a/src/wallet.ts
+++ b/src/wallet.ts
@@ -720,6 +720,10 @@ export class Wallet {
return await this.ws.db.get(Stores.reserves, reservePub);
}
+ async getReserve(reservePub: string): Promise<ReserveRecord | undefined> {
+ return await this.ws.db.get(Stores.reserves, reservePub);
+ }
+
async refuseProposal(proposalId: string): Promise<void> {
return refuseProposal(this.ws, proposalId);
}