Skip to content

Commit 1e5eb36

Browse files
authored
Merge pull request zcash#6967 from daira/fix-test_checkblock
gtest/test_checkblock.cpp: fix a bug in MockCValidationState that was causing a test warning
2 parents c6dfd89 + a2f63ff commit 1e5eb36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gtest/test_checkblock.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
class MockCValidationState : public CValidationState {
1111
public:
1212
MOCK_METHOD6(DoS, bool(int level, bool ret,
13-
unsigned int chRejectCodeIn, const std::string strRejectReasonIn,
13+
unsigned int chRejectCodeIn, const std::string &strRejectReasonIn,
1414
bool corruptionIn,
1515
const std::string &strDebugMessageIn));
1616
MOCK_METHOD4(Invalid, bool(bool ret,

0 commit comments

Comments
 (0)