Skip to content

Commit b919ca3

Browse files
committed
fedpeg test makes sure claim_script is wpkh
1 parent a9cbe55 commit b919ca3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/functional/feature_fedpeg.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@ def run_test(self):
173173

174174
addrs = sidechain.getpeginaddress()
175175
addr = addrs["mainchain_address"]
176+
assert_equal(sidechain.decodescript(addrs["claim_script"])["type"], "witness_v0_keyhash")
176177
txid1 = parent.sendtoaddress(addr, 24)
177178
# 10+2 confirms required to get into mempool and confirm
178179
parent.generate(1)

0 commit comments

Comments
 (0)