From 6e133b58daa9f424cc3ba9a1a9b1cfd2eb129e75 Mon Sep 17 00:00:00 2001 From: Mawuli Adzoe Date: Tue, 29 Dec 2015 11:38:41 -0700 Subject: [PATCH] txscript: Fix docs to match function. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Changed the order of return values described in the docs to be consistent with the function’s actual return value signature. --- txscript/sigcache_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/txscript/sigcache_test.go b/txscript/sigcache_test.go index f1f7d3d3..037265ed 100644 --- a/txscript/sigcache_test.go +++ b/txscript/sigcache_test.go @@ -12,8 +12,8 @@ import ( "github.com/btcsuite/btcd/wire" ) -// genRandomSig returns a random message, public key, and a signature of the -// message under the public key. This function is used to generate randomized +// genRandomSig returns a random message, a signature of the message under the +// public key and the public key. This function is used to generate randomized // test data. func genRandomSig() (*wire.ShaHash, *btcec.Signature, *btcec.PublicKey, error) { privKey, err := btcec.NewPrivateKey(btcec.S256())