Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F13710977
D11940.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
594 B
Subscribers
None
D11940.id.diff
View Options
diff --git a/src/avalanche/test/proof_tests.cpp b/src/avalanche/test/proof_tests.cpp
--- a/src/avalanche/test/proof_tests.cpp
+++ b/src/avalanche/test/proof_tests.cpp
@@ -35,7 +35,8 @@
: ProofValidationResult::NONE;
ProofValidationState state;
- BOOST_CHECK_EQUAL(p->verify(PROOF_DUST_THRESHOLD, state),
+ const bool ret = p->verify(PROOF_DUST_THRESHOLD, state);
+ BOOST_CHECK_EQUAL(ret,
state.GetResult() == ProofValidationResult::NONE);
BOOST_CHECK(state.GetResult() == expected_state);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Apr 26, 09:56 (1 h, 16 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5571634
Default Alt Text
D11940.id.diff (594 B)
Attached To
D11940: [avalanche] Fix proof_tests potential failure
Event Timeline
Log In to Comment