Merge pull request #2865

cfdba59 Wallet: implement async wallet storing (xiphon)
This commit is contained in:
luigi1111
2020-04-28 21:40:17 -05:00
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"