Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/master' into bet
Browse files Browse the repository at this point in the history
  • Loading branch information
sg777 committed Nov 16, 2018
2 parents 08ef24b + d09ef71 commit a04a2e7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -109,3 +109,5 @@ test/cache/*

libbitcoinconsensus.pc
contrib/devtools/split-debug.sh

bet/
2 changes: 1 addition & 1 deletion src/validation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2812,7 +2812,7 @@ bool CheckBlock(const CBlock& block, CValidationState& state, const Consensus::P

// Check transactions
for (const auto& tx : block.vtx)
if (!CheckTransaction(*tx, state, false))
if (!CheckTransaction(*tx, state, true))
return state.Invalid(false, state.GetRejectCode(), state.GetRejectReason(),
strprintf("Transaction check failed (tx hash %s) %s", tx->GetHash().ToString(), state.GetDebugMessage()));

Expand Down

0 comments on commit a04a2e7

Please sign in to comment.