From 2d963b47620b2e1f3f75887c7422627f65b42fb1 Mon Sep 17 00:00:00 2001 From: Luchuan Date: Wed, 27 May 2020 21:53:34 +0800 Subject: [PATCH] fix relay tx --- src/RpcServer/RpcServer.Wallet.cs | 2 +- src/RpcServer/RpcServer.csproj | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/RpcServer/RpcServer.Wallet.cs b/src/RpcServer/RpcServer.Wallet.cs index da087cdf7..b0b0f4f74 100644 --- a/src/RpcServer/RpcServer.Wallet.cs +++ b/src/RpcServer/RpcServer.Wallet.cs @@ -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 diff --git a/src/RpcServer/RpcServer.csproj b/src/RpcServer/RpcServer.csproj index 1bfb1be70..23b492203 100644 --- a/src/RpcServer/RpcServer.csproj +++ b/src/RpcServer/RpcServer.csproj @@ -15,7 +15,7 @@ - +