Skip to content

Commit

Permalink
Save the wallet after creating new address
Browse files Browse the repository at this point in the history
  • Loading branch information
adityapk00 committed Oct 7, 2021
1 parent e1cfd1a commit 0a85689
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/rpc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -396,6 +396,9 @@ export default class RPC {

console.log(addrJSON);

// Save
await RPCModule.doSave();

return addrJSON[0];
}

Expand Down

0 comments on commit 0a85689

Please sign in to comment.