mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-12-05 02:05:10 +01:00
scripted-diff: Use generate* from TestFramework
-BEGIN VERIFY SCRIPT-
sed --regexp-extended -i \
's/((self\.)?(nodes\[[^]]+\]|[a-z_]*(wallet|node)[0-9a-z_]*))\.(generate(|toaddress|block|todescriptor)(\(|, ))/self.\5\1, /g' \
$(git grep -l generate ./test | grep -v 'test_framework/' | grep -v 'feature_rbf')
-END VERIFY SCRIPT-
This commit is contained in:
@@ -156,7 +156,7 @@ class KeyPoolTest(BitcoinTestFramework):
|
||||
w1.walletpassphrase('test', 100)
|
||||
|
||||
res = w1.sendtoaddress(address=address, amount=0.00010000)
|
||||
nodes[0].generate(1)
|
||||
self.generate(nodes[0], 1)
|
||||
destination = addr.pop()
|
||||
|
||||
# Using a fee rate (10 sat / byte) well above the minimum relay rate
|
||||
|
||||
Reference in New Issue
Block a user