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
Currently, this utility method creates a new instance that references received object.
Quick example:
constbase_tx: ScriptTransactionRequest={..}constestimation_tx=ScriptTransactionRequest.from(base_transaction);estimation_tx.inputs.push(...spendableInputs);constfinal_tx=ScriptTransactionRequest.from(base_transaction)final_tx.inputs.push(...otherSpendableInputs);// Result: all base_tx, estimation_tx, and final_tx will contain `spendableInputs` and `otherSpendableInputs`
It should ideally clone the received transaction and return a new one, that doesn't reference anything.
The text was updated successfully, but these errors were encountered:
Currently, this utility method creates a new instance that references received object.
Quick example:
It should ideally clone the received transaction and return a new one, that doesn't reference anything.
The text was updated successfully, but these errors were encountered: