From 69f3ae3e29bfd28bf615d55362b90e91aff76a2d Mon Sep 17 00:00:00 2001 From: songgeng87 Date: Thu, 18 Jun 2020 12:11:47 +0800 Subject: [PATCH] fmt error --- node/node.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node/node.go b/node/node.go index 71bcbe383..12d885ddd 100644 --- a/node/node.go +++ b/node/node.go @@ -294,7 +294,7 @@ func (node *Node) AddPendingTransaction(newTx *types.Transaction) error { node.tryBroadcast(newTx) } return err - }else{ + } else { return errors.New("shard do not match") } }