diff options
author | Florian Dold <florian.dold@gmail.com> | 2020-03-16 17:46:57 +0530 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2020-03-16 17:46:57 +0530 |
commit | cb2fbc7610bed39b98c2fdb18941a22ad6df81b3 (patch) | |
tree | 9d299bbcc4d3ffa088b8c1712c23fa9b764604c1 /src/wallet.ts | |
parent | 9e2be07cfc2267f817c22105ad2a147bc7f8c33e (diff) |
fix another withdrawal state machine bug, add 'show-reserve' to advanced CLI
Diffstat (limited to 'src/wallet.ts')
-rw-r--r-- | src/wallet.ts | 4 |
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); } |