diff --git a/src/Nethermind/Nethermind.Synchronization/SnapSync/ISnapProvider.cs b/src/Nethermind/Nethermind.Synchronization/SnapSync/ISnapProvider.cs index b0bb41a69b4..b0d18d4d3f3 100644 --- a/src/Nethermind/Nethermind.Synchronization/SnapSync/ISnapProvider.cs +++ b/src/Nethermind/Nethermind.Synchronization/SnapSync/ISnapProvider.cs @@ -15,7 +15,7 @@ public interface ISnapProvider bool CanSync(); - AddRangeResult AddAccountRange(AccountRange request, AccountsAndProofs response, PeerInfo? peerInfo = null); + AddRangeResult AddAccountRange(AccountRange request, AccountsAndProofs response); AddRangeResult AddStorageRange(StorageRange request, SlotsAndProofs response); diff --git a/src/Nethermind/Nethermind.Synchronization/SnapSync/SnapSyncFeed.cs b/src/Nethermind/Nethermind.Synchronization/SnapSync/SnapSyncFeed.cs index 88f5a82fd2d..8423a90116e 100644 --- a/src/Nethermind/Nethermind.Synchronization/SnapSync/SnapSyncFeed.cs +++ b/src/Nethermind/Nethermind.Synchronization/SnapSync/SnapSyncFeed.cs @@ -72,7 +72,7 @@ public override SyncResponseHandlingResult HandleResponse(SnapSyncBatch? batch, { if (batch.AccountRangeResponse is not null) { - result = _snapProvider.AddAccountRange(batch.AccountRangeRequest, batch.AccountRangeResponse, peer); + result = _snapProvider.AddAccountRange(batch.AccountRangeRequest, batch.AccountRangeResponse); } else if (batch.StorageRangeResponse is not null) {