txscript: Fix docs to match function.

Changed the order of return values described in the docs to be
consistent with the function’s actual return value signature.
This commit is contained in:
Mawuli Adzoe 2015-12-29 11:38:41 -07:00
parent ff0c787237
commit 6e133b58da

View File

@ -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())