mirror of
https://github.com/btcsuite/btcd.git
synced 2024-11-19 09:50:08 +01:00
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:
parent
ff0c787237
commit
6e133b58da
@ -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())
|
||||
|
Loading…
Reference in New Issue
Block a user