diff options
| author | instagibbs <[email protected]> | 2016-05-09 11:26:37 -0400 |
|---|---|---|
| committer | instagibbs <[email protected]> | 2016-05-09 11:26:37 -0400 |
| commit | 657e07efa34ffe9d8614a618e00452c9ee7c0e0d (patch) | |
| tree | 4a67d2948791dc34d02e48883513fb6f1b1f5bf3 /src/rpc/blockchain.cpp | |
| parent | Remove state arg from ReconsiderBlock (diff) | |
| download | discoin-657e07efa34ffe9d8614a618e00452c9ee7c0e0d.tar.xz discoin-657e07efa34ffe9d8614a618e00452c9ee7c0e0d.zip | |
Rename ReconsiderBlock func to reflect real behavior
Diffstat (limited to 'src/rpc/blockchain.cpp')
| -rw-r--r-- | src/rpc/blockchain.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/blockchain.cpp b/src/rpc/blockchain.cpp index d221012af..cf3c73c4d 100644 --- a/src/rpc/blockchain.cpp +++ b/src/rpc/blockchain.cpp @@ -980,7 +980,7 @@ UniValue reconsiderblock(const UniValue& params, bool fHelp) throw JSONRPCError(RPC_INVALID_ADDRESS_OR_KEY, "Block not found"); CBlockIndex* pblockindex = mapBlockIndex[hash]; - ReconsiderBlock(pblockindex); + ResetBlockFailureFlags(pblockindex); } CValidationState state; |