Wallet: implement async wallet storing

This commit is contained in:
xiphon
2020-04-26 02:23:51 +00:00
parent 4141832a4d
commit cfdba59584
6 changed files with 61 additions and 38 deletions

View File

@@ -972,7 +972,11 @@ ApplicationWindow {
informationPopup.open()
currentWallet.refresh()
currentWallet.disposeTransaction(transaction)
currentWallet.store();
currentWallet.storeAsync(function(success) {
if (!success) {
appWindow.showStatusMessage(qsTr("Failed to store the wallet"), 3);
}
});
}
// called on "getProof"