You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using a P2PK("pay to public key" or <pubkey> OP_CHECKSIG input for sending taker fee will result in maker validation of the taker fee to fail with the following error.
None => returnERR!("None instruction 1 of script {:?}", script),
The taker fee validation is attempting to validate that all inputs have been signed by the taker's pubkey. If any of these inputs are P2PK(as opposed to P2PKH or P2WPKH), the validation will fail unexpectedly.
If this check will remain in place, the check_all_utxo_inputs_signed_by_pub function must account for P2PK inputs. This function should recalculate the sighash for this input and validate the provided signature against the expected public key.
The text was updated successfully, but these errors were encountered:
Using a P2PK("pay to public key" or
<pubkey> OP_CHECKSIG
input for sending taker fee will result in maker validation of the taker fee to fail with the following error.komodo-defi-framework/mm2src/coins/utxo/utxo_common.rs
Line 1971 in ff0eefc
The taker fee validation is attempting to validate that all inputs have been signed by the taker's pubkey. If any of these inputs are P2PK(as opposed to P2PKH or P2WPKH), the validation will fail unexpectedly.
If this check will remain in place, the check_all_utxo_inputs_signed_by_pub function must account for P2PK inputs. This function should recalculate the sighash for this input and validate the provided signature against the expected public key.
The text was updated successfully, but these errors were encountered: