History

Set Wallet Status to 'Ready' after correctly authenticating wallet

Zach Fox committed 8 years ago

Commit 623e6391 parent b2c4cdc3 files · +9 −6Browse files

Showing the changes to interface/src/scripting/WalletScriptingInterface.cpp (1 of 3 files). Show all

Unified · Split

interface/src/scripting/WalletScriptingInterface.cpp+5−0
@@ -22,3 +22,8 @@ void WalletScriptingInterface::refreshWalletStatus() { · 21 unmodified lines
22 auto wallet = DependencyManager::get<Wallet>();22 auto wallet = DependencyManager::get<Wallet>();
23 wallet->getWalletStatus();23 wallet->getWalletStatus();
24}24}
25
26void WalletScriptingInterface::setWalletStatus(const uint& status) {
27 _walletStatus = status;
28 emit DependencyManager::get<Wallet>()->walletStatusResult(status);
29}