Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

'signrawtransaction' yields error for key 'scriptPubKey' in offline signing example #1232

Closed
PrutenBoer opened this Issue Feb 8, 2016 · 1 comment

Comments

Projects
None yet
1 participant

error: {"code":-8,"message":"argument 1 must be hexadecimal string (not '$RAW_TX')"}:

when executing:

bitcoin-cli -regtest signrawtransaction $RAW_TX '''
[
{
"txid": "'$UTXO_TXID'",
"vout": '$UTXO_VOUT',
"scriptPubKey": "'$UTXO_OUTPUT_SCRIPT'"
}
]'''

Issue resolved. It was a windows cmd.exe issue...

@PrutenBoer PrutenBoer closed this Feb 8, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment