diff --git a/lnwallet/script_utils.go b/lnwallet/script_utils.go index b7cc5ed4e..82427aba8 100644 --- a/lnwallet/script_utils.go +++ b/lnwallet/script_utils.go @@ -70,7 +70,7 @@ func genMultiSigScript(aPub, bPub []byte) ([]byte, error) { // order. The signatures within the scriptSig must also adhere to the // order, ensuring that the signatures for each public key appears in // the proper order on the stack. - if bytes.Compare(aPub, bPub) == -1 { + if bytes.Compare(aPub, bPub) == 1 { aPub, bPub = bPub, aPub }