From 9cbc609b4bddab834cab1035a23dfea10fec1bb5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?T=C3=ADghearn=C3=A1n=20Carroll?= Date: Mon, 27 Sep 2021 15:42:53 +0100 Subject: [PATCH] fixed doc string comment --- txoutput.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/txoutput.go b/txoutput.go index a862b9a6..bc75dbc9 100644 --- a/txoutput.go +++ b/txoutput.go @@ -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)