I'm trying to create transaction to spend coins from multisig (2-of-2) address.
I sign transaction by pk1, serialize tx and sent transaction to other signer.
On the other side signer tries to restore transaction by bitcore-lib and sign transaction.
He gets an error: Invalid state: Not all utxo information is available to sign the transaction.
I'm trying to create transaction to spend coins from multisig (2-of-2) address.
I sign transaction by pk1, serialize tx and sent transaction to other signer.
On the other side signer tries to restore transaction by bitcore-lib and sign transaction. He gets an error:
Invalid state: Not all utxo information is available to sign the transaction.
There is my code snippet:
When create transaction by utxo inputs has a lot of information and looks like this:
But after restoring tx from
uncheckedSerialize
inputs look like this:And sign on the restored transaction doesn't work. How should i restore transaction?