Add COMPACT_FILTERS service flag to ServiceFlags fmt::Display impl

This commit is contained in:
Sofiane Baltaci 2019-12-21 03:06:03 +01:00
parent b40d94641d
commit 43789b1d5a
1 changed files with 1 additions and 0 deletions

View File

@ -201,6 +201,7 @@ impl fmt::Display for ServiceFlags {
write_flag!(GETUTXO); write_flag!(GETUTXO);
write_flag!(BLOOM); write_flag!(BLOOM);
write_flag!(WITNESS); write_flag!(WITNESS);
write_flag!(COMPACT_FILTERS);
write_flag!(NETWORK_LIMITED); write_flag!(NETWORK_LIMITED);
// If there are unknown flags left, we append them in hex. // If there are unknown flags left, we append them in hex.
if flags != ServiceFlags::NONE { if flags != ServiceFlags::NONE {