lnwallet/signdesc: increases max witness parsing length

This commit is contained in:
Conner Fromknecht 2017-09-06 13:51:27 -07:00
parent de1063200a
commit 47356493f3
No known key found for this signature in database
GPG Key ID: 39DE78FBE6ACB0EF

@ -166,7 +166,7 @@ func ReadSignDescriptor(r io.Reader, sd *SignDescriptor) error {
return ErrTweakOverdose
}
witnessScript, err := wire.ReadVarBytes(r, 0, 100, "witnessScript")
witnessScript, err := wire.ReadVarBytes(r, 0, 500, "witnessScript")
if err != nil {
return err
}