From 147f050dc5850bd31089b2afe54f79a2affcd229 Mon Sep 17 00:00:00 2001 From: OASIS <39086658+oasis-eos@users.noreply.github.com> Date: Fri, 27 Nov 2020 13:33:40 +0800 Subject: [PATCH] Update chainwalker.go --- subscription/chainwalker.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/subscription/chainwalker.go b/subscription/chainwalker.go index 43ce855..703a59b 100644 --- a/subscription/chainwalker.go +++ b/subscription/chainwalker.go @@ -88,7 +88,10 @@ func (t GetEventReceiptTask) Run() { t.Complete.Lock() defer t.Complete.Unlock() t.Complete.Number++ - tnx, _ := t.Provider.GetTransaction(t.Id) + tnx, err := t.Provider.GetTransaction(t.Id) + if err != nil { + return + } receipt := tnx.Receipt addr := tnx.ToAddr if receipt.Success == false {