From f13d7c305f02f77aa48cc579f678a96e4f319a25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=BF=97=E5=90=8C?= Date: Wed, 18 Nov 2020 10:54:58 +0800 Subject: [PATCH 1/2] Update LogReader.cs (#401) * Update LogReader.cs * update --- src/ApplicationLogs/LogReader.cs | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/ApplicationLogs/LogReader.cs b/src/ApplicationLogs/LogReader.cs index 60eb903f9..8e6f551d5 100644 --- a/src/ApplicationLogs/LogReader.cs +++ b/src/ApplicationLogs/LogReader.cs @@ -68,6 +68,7 @@ public void OnPersist(StoreView snapshot, IReadOnlyList Date: Fri, 20 Nov 2020 18:03:01 +0800 Subject: [PATCH 2/2] [RpcServer] Update RpcServer.SmartContract.cs (#400) * Update RpcServer.SmartContract.cs * Update src/RpcServer/RpcServer.SmartContract.cs Co-authored-by: Shargon * update Co-authored-by: Owen Zhang <38493437+superboyiii@users.noreply.github.com> Co-authored-by: Shargon --- src/RpcServer/RpcServer.SmartContract.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/RpcServer/RpcServer.SmartContract.cs b/src/RpcServer/RpcServer.SmartContract.cs index 9146c91d1..4fed465ad 100644 --- a/src/RpcServer/RpcServer.SmartContract.cs +++ b/src/RpcServer/RpcServer.SmartContract.cs @@ -63,7 +63,7 @@ public void SerializeUnsigned(BinaryWriter writer) private JObject GetInvokeResult(byte[] script, Signers signers = null) { - Transaction tx = new Transaction + Transaction tx = signers == null ? null : new Transaction { Signers = signers.GetSigners(), Attributes = Array.Empty(),