I am trying to do a pegged transfer from one of my private blockchain to a sidechains using sidechain-manipulation.py (https://github.com/ElementsProject/elements/blob/alpha/contrib/sidechain-manipulation.py)
I did a successful address creation and send-to-sidechain after doing necesary modifications on Sidechain chainparams(presently configured only for main and testnet)
While I try to claim in the sidechain I get the following error
Traceback (most recent call last):
File "./contrib/sidechain-manipulation.py", line 176, in <module>
txid = sidechain.sendrawtransaction(res_tx)
File "/usr/local/lib/python2.7/dist-packages/bitcoinrpc/authproxy.py", line 140, in __call__
raise JSONRPCException(response['error'])
JSONRPCException: -26: 16: mandatory-script-verify-flag-failed (Script failed an OP_CHECKSIGVERIFY operation)
Got the following error from an RPC Call:
{u'message': u'16: mandatory-script-verify-flag-failed (Script failed an OP_CHECKSIGVERIFY operation)', u'code': -26}
I see the following lines in claim-on-sidechains sidechain-manipulation.py,
# Might need to calculate the scriptSig here
secondScriptSig = "1"
My question is, what is this secondScriptSig ?!?! How does it relate to withdrawKeys?