diff --git a/src/spork.h b/src/spork.h index e8d5d81d71..a9ed23424c 100644 --- a/src/spork.h +++ b/src/spork.h @@ -68,7 +68,7 @@ struct CSporkDef }; #define MAKE_SPORK_DEF(name, defaultValue) CSporkDef{name, defaultValue, #name} -[[maybe_unused]] static constexpr std::array sporkDefs = { +[[maybe_unused]] static constexpr std::array sporkDefs = { MAKE_SPORK_DEF(SPORK_2_INSTANTSEND_ENABLED, 4070908800ULL), // OFF MAKE_SPORK_DEF(SPORK_3_INSTANTSEND_BLOCK_FILTERING, 4070908800ULL), // OFF MAKE_SPORK_DEF(SPORK_9_SUPERBLOCKS_ENABLED, 4070908800ULL), // OFF diff --git a/test/functional/feature_sporks.py b/test/functional/feature_sporks.py index 46e96c81e5..b6b5fdf7b8 100755 --- a/test/functional/feature_sporks.py +++ b/test/functional/feature_sporks.py @@ -59,5 +59,8 @@ class SporkTest(BitcoinTestFramework): self.connect_nodes(1, 2) self.wait_until(lambda: self.get_test_spork_state(self.nodes[2]), timeout=10) + assert "" not in self.nodes[0].spork('show').keys() + + if __name__ == '__main__': SporkTest().main()