test: should have no spork with an empty name

This commit is contained in:
UdjinM6 2024-10-16 13:30:51 +03:00
parent d3345c9ee4
commit 7d933d876d
No known key found for this signature in database
GPG Key ID: 83592BD1400D58D9

View File

@ -59,5 +59,8 @@ class SporkTest(BitcoinTestFramework):
self.connect_nodes(1, 2) self.connect_nodes(1, 2)
self.wait_until(lambda: self.get_test_spork_state(self.nodes[2]), timeout=10) 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__': if __name__ == '__main__':
SporkTest().main() SporkTest().main()