We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0fa8906 commit 00be92cCopy full SHA for 00be92c
1 file changed
test/chain/block.cpp
@@ -440,6 +440,17 @@ BOOST_AUTO_TEST_CASE(block__to_data__writer__expected)
440
// fees
441
// claim
442
443
+BOOST_AUTO_TEST_CASE(block__spends__genesis__zero)
444
+{
445
+ const auto genesis = settings(selection::mainnet).genesis_block;
446
+ BOOST_REQUIRE(is_zero(genesis.spends()));
447
+}
448
+
449
+BOOST_AUTO_TEST_CASE(block__spends__coinbase_only__zero)
450
451
+ BOOST_REQUIRE(is_zero(get_block().spends()));
452
453
454
BOOST_AUTO_TEST_CASE(block__hash__default__matches_header_hash)
455
{
456
const block instance;
0 commit comments