Skip to content

Commit

Permalink
Do not send mempool message on p2p on dbtrie backend
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasDorier committed Feb 7, 2023
1 parent 4874373 commit b5592e0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion NBXplorer/Backends/DBTrie/ExplorerBehavior.cs
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,6 @@ private void NodeHandshaked(Node node)
if (_BlockLoop != null)
return;
Logs.Explorer.LogInformation($"{Network.CryptoCode}: Handshaked node");
node.SendMessageAsync(new MempoolPayload());
_BlockLoop = IndexBlockLoop(node, _Cts.Token);
}

Expand Down
2 changes: 1 addition & 1 deletion NBXplorer/NBXplorer.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<OutputType>Exe</OutputType>
<TargetFramework Condition="'$(TargetFrameworkOverride)' == ''">net6.0</TargetFramework>
<TargetFramework Condition="'$(TargetFrameworkOverride)' != ''">$(TargetFrameworkOverride)</TargetFramework>
<Version>2.3.59</Version>
<Version>2.3.60</Version>
<DocumentationFile>bin\$(Configuration)\$(TargetFramework)\NBXplorer.xml</DocumentationFile>
<NoWarn>1701;1702;1705;1591;CS1591</NoWarn>
<LangVersion>10.0</LangVersion>
Expand Down

0 comments on commit b5592e0

Please sign in to comment.