forked from dashpay/dash
-
Notifications
You must be signed in to change notification settings - Fork 719
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[RPC] Fix getstakingstatus removing compile-time conditional
The call is already wrapped in it, no need to check a second time. Further, since the status is get from pwalletMain, throw if it is not loaded. Also move the staking status inside if(pwalletMain) in getinfo Github-Pull: #1245 Rebased-From: 3893739
- Loading branch information
1 parent
876d393
commit a80e2e9
Showing
1 changed file
with
41 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters