mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-04-06 05:37:50 +02:00
test: [refactor] Use verbosity=0 named arg
This is less confusing than the verbose=0 alias.
This commit is contained in:
@@ -729,7 +729,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