mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-14 12:43:40 +02:00
slight peg-test language fixup
This commit is contained in:
parent
248eb9157b
commit
20dee2e4a4
1 changed files with 2 additions and 2 deletions
|
|
@ -178,7 +178,7 @@ try:
|
||||||
# First attempt fails the consensus check but gives useful result
|
# First attempt fails the consensus check but gives useful result
|
||||||
try:
|
try:
|
||||||
pegtxid = sidechain.claimpegin(raw, proof)
|
pegtxid = sidechain.claimpegin(raw, proof)
|
||||||
raise Exception("Peg-in should not mature enough yet, need another block.")
|
raise Exception("Peg-in should not be mature enough yet, need another block.")
|
||||||
except JSONRPCException as e:
|
except JSONRPCException as e:
|
||||||
assert("Peg-in Bitcoin transaction needs more confirmations to be sent." in e.error["message"])
|
assert("Peg-in Bitcoin transaction needs more confirmations to be sent." in e.error["message"])
|
||||||
pass
|
pass
|
||||||
|
|
@ -187,7 +187,7 @@ try:
|
||||||
bitcoin.generate(10)
|
bitcoin.generate(10)
|
||||||
try:
|
try:
|
||||||
pegtxid = sidechain.claimpegin(raw, proof)
|
pegtxid = sidechain.claimpegin(raw, proof)
|
||||||
raise Exception("Peg-in should not mature enough yet, need another block.")
|
raise Exception("Peg-in should not be mature enough yet, need another block.")
|
||||||
except JSONRPCException as e:
|
except JSONRPCException as e:
|
||||||
assert("Peg-in Bitcoin transaction needs more confirmations to be sent." in e.error["message"])
|
assert("Peg-in Bitcoin transaction needs more confirmations to be sent." in e.error["message"])
|
||||||
pass
|
pass
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue