misc: fix error formatting in multiple files
This commit is contained in:
1 parent
2b729a78f3
commit
556e3525ea
28 files changed
+91
-91
No files matched your search
@@ -49,7 +49,7 @@ func WitnessScriptHash(witnessScript []byte) ([]byte, error) {
|
||||
// pubkeys.
|
||||
func GenMultiSigScript(aPub, bPub []byte) ([]byte, error) {
|
||||
if len(aPub) != 33 || len(bPub) != 33 {
|
||||
return nil, fmt.Errorf("Pubkey size error. Compressed pubkeys only")
|
||||
return nil, fmt.Errorf("pubkey size error: compressed pubkeys only")
|
||||
}
|
||||
|
||||
// Swap to sort pubkeys if needed. Keys are sorted in lexicographical
|
||||
|
||||
Reference in new issue
Block a user