Closed sipa closed 3 years ago
Make minisketch_create return a functioning minisketch* when capacity=0 is passed, to remove the need for dealing with this edge case from the user.
minisketch_create
minisketch*
See https://github.com/bitcoin/bitcoin/pull/21859#issuecomment-835937493 for discussion.
utACK 5487f1ffa7d07298b5138e0cef74db23b183e57f
Post merge cr ACK 5487f1ffa7d07298b5138e0cef74db23b183e57f
Thanks for removing this edge case!
Make
minisketch_create
return a functioningminisketch*
when capacity=0 is passed, to remove the need for dealing with this edge case from the user.See https://github.com/bitcoin/bitcoin/pull/21859#issuecomment-835937493 for discussion.