ipni / index-provider

📢 Index Provider

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Outdated code comment

dennis-tra opened this issue · comments

I just saw this log message during my experiments which got me confused:

Latest advertisement CID was undefined - no previous advertisement

I saw that this is coming from here:

if prevAdvID != cid.Undef {

However, the comment + log message seem not to have been updated together with this change:

07e2f7c#diff-2e6c4934f63ff9b712c2c346b33036af4724adf70b0801fff9b74f71b37fcd89

Not urgent or anything; I just wanted to leave this here as I was confused about what's happening.

Thank you. Fixed in #368