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
When we create the withdraw early unbonded transaction, we require unbonding tx as the input. However, we never check the legibility of the transaction to make sure it's indeed is the unbonding tx and pointing to the right staking tx that we want to withdraw from.
The scope of this issue is to add such check in the btc-staking-ts lib and make sure have sufficient test coverages
The text was updated successfully, but these errors were encountered:
After looking deep into the code, it does not seem we need such check as the btc will reject if the input does not match from previous tx output anyway.
When we create the withdraw early unbonded transaction, we require unbonding tx as the input. However, we never check the legibility of the transaction to make sure it's indeed is the unbonding tx and pointing to the right staking tx that we want to withdraw from.
The scope of this issue is to add such check in the btc-staking-ts lib and make sure have sufficient test coverages
The text was updated successfully, but these errors were encountered: