Skip to content

Commit

Permalink
fixed doc string comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Tíghearnán Carroll committed Sep 27, 2021
1 parent 87df3a3 commit 9cbc609
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion txoutput.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ func (tx *Tx) AddP2PKHOutputFromScript(script *bscript.Script, satoshis uint64)
return nil
}

// AddP2PKHOutputFromScript generated a random P2PKH output script from a provided *bip32.ExtendedKey,
// AddP2PKHOutputFromBip32ExtKey generated a random P2PKH output script from a provided *bip32.ExtendedKey,
// and add it to the receiving tx. The derviation path used is returned.
func (tx *Tx) AddP2PKHOutputFromBip32ExtKey(privKey *bip32.ExtendedKey, satoshis uint64) (string, error) {
script, derivationPath, err := bscript.NewP2PKHFromBip32ExtKey(privKey)
Expand Down

0 comments on commit 9cbc609

Please sign in to comment.