Skip to content

Commit

Permalink
Trivial: Print the correct value for missing registry key
Browse files Browse the repository at this point in the history
There is a D bug that we worked around, as mentioned by the link to the issue
before the 'retry' call, but two instances were forgotten.
  • Loading branch information
Geod24 committed Sep 30, 2021
1 parent 8dbfd8c commit 80505e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/agora/network/Manager.d
Original file line number Diff line number Diff line change
Expand Up @@ -665,7 +665,7 @@ public class NetworkManager
auto payload = this.registry_client.getValidator(ckey);
if (payload == RegistryPayload.init)
{
log.warn("Could not find mapping in registry for key {}", key);
log.warn("Could not find mapping in registry for key {}", ckey);
return false;
}

Expand All @@ -678,7 +678,7 @@ public class NetworkManager

if (!payload.verifySignature(ckey))
{
log.error("RegistryPayload signature is incorrect for {}: {}", key, payload);
log.error("RegistryPayload signature is incorrect for {}: {}", ckey, payload);
return false;
}
foreach (addr; payload.data.addresses)
Expand Down

0 comments on commit 80505e8

Please sign in to comment.