Showing the changes to interface/src/scripting/WalletScriptingInterface.cpp (1 of 3 files). Show all
Unified · Split
| @@ -22,3 +22,8 @@ void WalletScriptingInterface::refreshWalletStatus() { · 21 unmodified lines | ||
| 22 | 22 | auto wallet = DependencyManager::get<Wallet>(); |
| 23 | 23 | wallet->getWalletStatus(); |
| 24 | 24 | } |
| 25 | + | |
| 26 | +void WalletScriptingInterface::setWalletStatus(const uint& status) { | |
| 27 | + _walletStatus = status; | |
| 28 | + emit DependencyManager::get<Wallet>()->walletStatusResult(status); | |
| 29 | +} | |