Browse Source

Merge #609: tests: Fix 0.20 compatibility of test suite

536bef5 [test] Parse getnewaddress response properly (jules23)
7eab576 [test] Update test/bitcoin.conf according to 0.20 release notes (jules23)
master
Adam Gibson 6 years ago
parent
commit
c3a751507e
No known key found for this signature in database
GPG Key ID: 141001A1AF77F20B
  1. 2
      conftest.py
  2. 1
      test/bitcoin.conf

2
conftest.py

@ -120,7 +120,7 @@ def setup(request):
"-rpcuser=" + bitcoin_rpcusername,
"-rpcpassword=" + bitcoin_rpcpassword]
for i in range(2):
destn_addr = local_command(root_cmd + ["getnewaddress"])
destn_addr = local_command(root_cmd + ["getnewaddress"])[:-1].decode('utf-8')
local_command(root_cmd + ["generatetoaddress", "301", destn_addr])
time.sleep(1)

1
test/bitcoin.conf

@ -1,2 +1,3 @@
rpcuser=bitcoinrpc
rpcpassword=123456abcdef
fallbackfee=0.0002

Loading…
Cancel
Save