Skip to content

Commit

Permalink
Trivial: style update to include this
Browse files Browse the repository at this point in the history
  • Loading branch information
hewison-chris authored and Geod24 committed Nov 11, 2021
1 parent 3eb29b1 commit bea6fa5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/agora/network/Manager.d
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ public class NetworkManager
const is_validator = key != PublicKey.init;
if (is_validator)
{
if (address !is Address.init
if (this.address !is Address.init
&& key == this.outer.validator_config.key_pair.address)
{
// either we connected to ourself, or someone else is pretending
Expand Down

0 comments on commit bea6fa5

Please sign in to comment.