mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-06-04 02:02:42 +02:00
test: [refactor] Use verbosity=0 named arg
This is less confusing than the verbose=0 alias.
Github-Pull: #34852
Rebased-From: faf71d6cb4
This commit is contained in:
@@ -726,7 +726,7 @@ def dumb_sync_blocks(*, src, dst, height=None):
|
||||
height = height or src.getblockcount()
|
||||
for i in range(dst.getblockcount() + 1, height + 1):
|
||||
block_hash = src.getblockhash(i)
|
||||
block = src.getblock(blockhash=block_hash, verbose=0)
|
||||
block = src.getblock(blockhash=block_hash, verbosity=0)
|
||||
dst.submitblock(block)
|
||||
assert_equal(dst.getblockcount(), height)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user