This commit is contained in:
blackjok3r
2018-10-28 12:24:22 +08:00
parent 79a6109971
commit b5e3297073

View File

@@ -440,7 +440,7 @@ bool DiceVerifyTimeout(CTransaction &betTx,int32_t timeoutblocks)
return(numblocks >= timeoutblocks); return(numblocks >= timeoutblocks);
} }
bool GetBlock(uint256 hash, CBlockIndex& blockIdx) const bool GetBlock(uint256 hash, CBlockIndex& blockIdx)
{ {
auto r = mapBlockIndex.find(hash); auto r = mapBlockIndex.find(hash);
if (r != mapBlockIndex.end()) { if (r != mapBlockIndex.end()) {