mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 20:12:57 +01:00
parent
7e96af4e65
commit
d1aeac1b2e
@ -3179,7 +3179,7 @@ bool CheckBlock(const CBlock& block, CValidationState& state, bool fCheckPOW, bo
|
|||||||
BOOST_FOREACH(const CTxIn& txin, tx.vin) {
|
BOOST_FOREACH(const CTxIn& txin, tx.vin) {
|
||||||
uint256 hashLocked;
|
uint256 hashLocked;
|
||||||
if(instantsend.GetLockedOutPointTxHash(txin.prevout, hashLocked) && hashLocked != tx.GetHash()) {
|
if(instantsend.GetLockedOutPointTxHash(txin.prevout, hashLocked) && hashLocked != tx.GetHash()) {
|
||||||
// The node which relayed this will have to swtich later,
|
// The node which relayed this will have to switch later,
|
||||||
// relaying instantsend data won't help it.
|
// relaying instantsend data won't help it.
|
||||||
LOCK(cs_main);
|
LOCK(cs_main);
|
||||||
mapRejectedBlocks.insert(make_pair(block.GetHash(), GetTime()));
|
mapRejectedBlocks.insert(make_pair(block.GetHash(), GetTime()));
|
||||||
|
Loading…
Reference in New Issue
Block a user