From 105e393169246edfd3ef712727e713f0b17e0b6c Mon Sep 17 00:00:00 2001 From: Richard Liu Date: Mon, 18 Jun 2018 21:41:29 -0700 Subject: [PATCH] minor fix --- blockchain/utxopool.go | 2 +- consensus/consensus.go | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/blockchain/utxopool.go b/blockchain/utxopool.go index e79e88f62..036585059 100644 --- a/blockchain/utxopool.go +++ b/blockchain/utxopool.go @@ -132,7 +132,7 @@ func (utxopool *UTXOPool) VerifyOneTransactionAndUpdate(tx *Transaction) bool { utxopool.Update(tx) return true } - retur false + return false } // VerifyAndUpdate verifies a list of transactions and update utxoPool. diff --git a/consensus/consensus.go b/consensus/consensus.go index 2864b360b..5e2a4a14b 100644 --- a/consensus/consensus.go +++ b/consensus/consensus.go @@ -2,8 +2,6 @@ package consensus // consensus import ( - "fmt" - "harmony-benchmark/message" "harmony-benchmark/common" "harmony-benchmark/p2p" "log"