Is there an existing issue for this?
- I have searched the existing issues
Current behaviour
createrawtransaction in v30rc2 seems unable to create txns with multiple OP_RETURNs
Expected behaviour
Expected v30 cli to be able to generate transactions with multiple OP_RETURN outputs.
Steps to reproduce
$ bitcoin-cli -regtest createrawtransaction \
'[{"txid":"0000000000000000000000000000000000000000000000000000000000000000","vout":0}]' \
'[{"data":"68656c6c6f"},{"data":"776f726c64"}]'
# Error:
# error code: -8
# error message: Invalid parameter, duplicate key: data
Relevant log output
No response
How did you obtain Bitcoin Core
Pre-built binaries
What version of Bitcoin Core are you using?
v30rc2
Operating system and version
UNIX
Machine specifications
No response