Skip to content

Commit

Permalink
txscript: Fix docs to match function.
Browse files Browse the repository at this point in the history
Changed the order of return values described in the docs to be
consistent with the function’s actual return value signature.
  • Loading branch information
wallclockbuilder committed Dec 29, 2015
1 parent ff0c787 commit 6e133b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions txscript/sigcache_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down

0 comments on commit 6e133b5

Please sign in to comment.