Skip to content

Commit

Permalink
fix relay tx (neo-project#249)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tommo-L authored and 陈志同 committed Oct 13, 2020
1 parent bfa5194 commit c58d53a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/RpcServer/RpcServer.Wallet.cs
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ private JObject SignAndRelay(Transaction tx)
if (context.Completed)
{
tx.Witnesses = context.GetWitnesses();
system.LocalNode.Tell(new LocalNode.Relay { Inventory = tx });
system.Blockchain.Tell(tx);
return tx.ToJson();
}
else
Expand Down
2 changes: 1 addition & 1 deletion src/RpcServer/RpcServer.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.ResponseCompression" Version="2.2.0" />
<PackageReference Include="Neo" Version="3.0.0-CI00909" />
<PackageReference Include="Neo" Version="3.0.0-CI00929" />
</ItemGroup>

</Project>

0 comments on commit c58d53a

Please sign in to comment.