Skip to content

Commit

Permalink
Update transction_builder.go
Browse files Browse the repository at this point in the history
  • Loading branch information
mrtnetwork committed Sep 27, 2023
1 parent 2f39207 commit 30893b0
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions provider/transction_builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -310,13 +310,6 @@ func (build *BitcoinTransactionBuilder) buildOutputs() []*scripts.TxOutput {
return outputs
}

/*
the scriptPubKey of a UTXO (Unspent Transaction Output) is used as the locking
script that defines the spending conditions for the bitcoins associated
with that UTXO. When creating a Bitcoin transaction, the spending conditions
specified by the scriptPubKey must be satisfied by the corresponding scriptSig
in the transaction input to spend the UTXO.
*/
func buildOutputScriptPubKey(addr BitcoinOutputDetails) *scripts.Script {
return addr.Address.ToScriptPubKey()
}
Expand Down

0 comments on commit 30893b0

Please sign in to comment.