Skip to content

Commit fab4737

Browse files
author
MarcoFalke
committed
test: pep-8 p2p_getdata.py
1 parent 793e0ff commit fab4737

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/functional/p2p_getdata.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
from test_framework.test_framework import BitcoinTestFramework
1717
from test_framework.util import wait_until
1818

19-
class P2PStoreBlock(P2PInterface):
2019

20+
class P2PStoreBlock(P2PInterface):
2121
def __init__(self):
2222
super().__init__()
2323
self.blocks = defaultdict(int)
@@ -26,6 +26,7 @@ def on_block(self, message):
2626
message.block.calc_sha256()
2727
self.blocks[message.block.sha256] += 1
2828

29+
2930
class GetdataTest(BitcoinTestFramework):
3031
def set_test_params(self):
3132
self.num_nodes = 1
@@ -47,5 +48,6 @@ def run_test(self):
4748
self.nodes[0].p2ps[0].send_and_ping(good_getdata)
4849
wait_until(lambda: self.nodes[0].p2ps[0].blocks[best_block] == 1, timeout=30, lock=mininode_lock)
4950

51+
5052
if __name__ == '__main__':
5153
GetdataTest().main()

0 commit comments

Comments
 (0)