mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-06-29 02:11:24 +02:00
Use COINBASE_MATURITY constant in functional tests.
This commit is contained in:
@ -9,6 +9,7 @@ import itertools
|
||||
import json
|
||||
import os
|
||||
|
||||
from test_framework.blocktools import COINBASE_MATURITY
|
||||
from test_framework.authproxy import JSONRPCException
|
||||
from test_framework.descriptors import descsum_create, drop_origins
|
||||
from test_framework.key import ECPubKey, ECKey
|
||||
@ -109,7 +110,7 @@ class RpcCreateMultiSigTest(BitcoinTestFramework):
|
||||
|
||||
def checkbalances(self):
|
||||
node0, node1, node2 = self.nodes
|
||||
node0.generate(100)
|
||||
node0.generate(COINBASE_MATURITY)
|
||||
self.sync_all()
|
||||
|
||||
bal0 = node0.getbalance()
|
||||
|
Reference in New Issue
Block a user