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") } }