mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-13 12:33:42 +02:00
Fix timing for bitcoin shutdown in pegging.py
This commit is contained in:
parent
0beeae51ce
commit
1986ec7d47
1 changed files with 2 additions and 0 deletions
|
|
@ -280,6 +280,8 @@ try:
|
|||
|
||||
print ("Now test failure to validate peg-ins based on intermittant bitcoind rpc failure")
|
||||
bitcoin2.stop()
|
||||
# give bitcoin2 time to stop
|
||||
time.sleep(1)
|
||||
txid = bitcoin.sendtoaddress(addrs["mainchain_address"], 1)
|
||||
bitcoin.generate(12)
|
||||
proof = bitcoin.gettxoutproof([txid])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue