Skip to content

Commit d161096

Browse files
committed
test: add null block xor key
1 parent 1ad999b commit d161096

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/functional/test_framework/test_node.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@
4646
# The size of the blocks xor key
4747
# from InitBlocksdirXorKey::xor_key.size()
4848
NUM_XOR_BYTES = 8
49+
# The null blocks key (all 0s)
50+
NULL_BLK_XOR_KEY = bytes([0] * NUM_XOR_BYTES)
4951

5052

5153
class FailedToStartError(Exception):

0 commit comments

Comments
 (0)