We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4738c34 commit a7a95c4Copy full SHA for a7a95c4
stackslib/src/core/mempool.rs
@@ -1841,13 +1841,10 @@ impl MemPoolDB {
1841
continue;
1842
}
1843
1844
- let do_consider = if settings.filter_origins.is_empty() {
1845
- true
1846
- } else {
1847
- settings
+ let do_consider = settings.filter_origins.is_empty()
+ || settings
1848
.filter_origins
1849
- .contains(&tx_info.metadata.origin_address)
1850
- };
+ .contains(&tx_info.metadata.origin_address);
1851
1852
if !do_consider {
1853
debug!("Will skip mempool tx, since it does not have an allowed origin";
0 commit comments