Skip to content

Commit

Permalink
settings: inline tpool logic
Browse files Browse the repository at this point in the history
  • Loading branch information
n8maninger committed Nov 1, 2024
1 parent b6b9f0c commit c9edf02
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions host/settings/update.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,7 @@ func (m *ConfigManager) ProcessActions(index types.ChainIndex) error {
for _, txn := range m.chain.PoolTransactions() {
var ha chain.HostAnnouncement
for _, arb := range txn.ArbitraryData {
if !ha.FromArbitraryData(arb) {
continue
} else if ha.PublicKey == hostPub {
if ha.FromArbitraryData(arb) && ha.PublicKey == hostPub {
return nil
}
}
Expand Down

0 comments on commit c9edf02

Please sign in to comment.