diff --git a/wire/msgcfilter.go b/wire/msgcfilter.go index c9ce378a4..f4ea010d6 100644 --- a/wire/msgcfilter.go +++ b/wire/msgcfilter.go @@ -21,8 +21,8 @@ const ( const ( // MaxCFilterDataSize is the maximum byte size of a committed filter. - // The maximum size is currently defined as 256KiB. - MaxCFilterDataSize = 256 * 1024 + // The maximum size is currently defined as 2MiB. + MaxCFilterDataSize = 2 * 1024 * 1024 ) // MsgCFilter implements the Message interface and represents a bitcoin cfilter