bnb-chain / tss-lib

Threshold Signature Scheme, for ECDSA and EDDSA
MIT License
759 stars 261 forks source link

Sign with MPC derived key is not able to pass validation by btcd script engine #279

Open wmh opened 9 months ago

wmh commented 9 months ago

I used bitcoin-cli to send bitcoin to addresses (P2PKH, P2SH, P2WPKH) from an MPC-derived key and attempted to sign with an MPC-derived key. However, I consistently received a 'fail' message from the btcd txscript engine, with these error messages:

mandatory-script-verify-flag-failed (Script failed an OP_EQUALVERIFY operation)
mandatory-script-verify-flag-failed (Script evaluated without error but finished with a false/empty top stack element)

On the contrary, signing with the MPC root key works perfectly. Do you have any suggestions for troubleshooting this issue?