Skip to content

Commit

Permalink
Merge pull request zcash#6967 from daira/fix-test_checkblock
Browse files Browse the repository at this point in the history
gtest/test_checkblock.cpp: fix a bug in MockCValidationState that was causing a test warning
  • Loading branch information
str4d authored Oct 24, 2024
2 parents c6dfd89 + a2f63ff commit 1e5eb36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gtest/test_checkblock.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
class MockCValidationState : public CValidationState {
public:
MOCK_METHOD6(DoS, bool(int level, bool ret,
unsigned int chRejectCodeIn, const std::string strRejectReasonIn,
unsigned int chRejectCodeIn, const std::string &strRejectReasonIn,
bool corruptionIn,
const std::string &strDebugMessageIn));
MOCK_METHOD4(Invalid, bool(bool ret,
Expand Down

0 comments on commit 1e5eb36

Please sign in to comment.