refactor: we do not need to bother storing our own ProviderStore data as that would just duplicate any possible data coming from the ProviderStore.

This commit is contained in:
Derrick Hammer 2024-03-03 09:30:40 -05:00
parent 73dc22a71e
commit e6c6ea473c
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 0 additions and 5 deletions

View File

@ -139,11 +139,6 @@ func (h *HashQuery) HandleMessage(message IncomingMessageData) error {
message := storage.PrepareProvideMessage(config.KeyPair, h.hash, location)
err = mediator.AddStorageLocation(h.hash, mediator.NodeId(), location, message)
if err != nil {
return err
}
err = peer.SendMessage(message)
if err != nil {
return err