From e608c79ed5235cf4082642620a91be592f3c76bb Mon Sep 17 00:00:00 2001 From: Alexander Kriventsev Date: Wed, 31 Mar 2021 13:25:33 +0300 Subject: [PATCH] fix log --- common/adaptors/binance.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common/adaptors/binance.go b/common/adaptors/binance.go index abb7437..71e8ea4 100644 --- a/common/adaptors/binance.go +++ b/common/adaptors/binance.go @@ -287,8 +287,9 @@ func (adaptor *BinanceAdaptor) SendValueToSubs(nebulaId account.NebulaId, pulseI } _, err = nebula.SendValueToSubByte(transactOpt, v, big.NewInt(int64(pulseId)), id) - zap.L().Error(err.Error()) + if err != nil { + zap.L().Error(err.Error()) continue } }