[qt] WalletModel: Expose disablewallet

This commit is contained in:
MarcoFalke
2016-09-21 12:37:00 +02:00
parent fa58edbffe
commit 6666ca6379
3 changed files with 9 additions and 4 deletions

View File

@@ -684,6 +684,11 @@ bool WalletModel::abandonTransaction(uint256 hash) const
return wallet->AbandonTransaction(hash);
}
bool WalletModel::isWalletEnabled()
{
return !GetBoolArg("-disablewallet", DEFAULT_DISABLE_WALLET);
}
bool WalletModel::hdEnabled() const
{
return wallet->IsHDEnabled();