From b55ba5690e1c858141f9051e0eca18d01dc891a3 Mon Sep 17 00:00:00 2001 From: Jitendra Bhurat Date: Mon, 1 Oct 2018 14:29:37 -0400 Subject: [PATCH] formatting --- core/blockchain.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/core/blockchain.go b/core/blockchain.go index 04b6fc709..c4515dabd 100644 --- a/core/blockchain.go +++ b/core/blockchain.go @@ -89,10 +89,10 @@ type BlockChain struct { scope event.SubscriptionScope genesisBlock *types.Block - mu sync.RWMutex // global mutex for locking chain operations - chainmu sync.RWMutex // blockchain insertion lock - procmu sync.RWMutex // block processor lock - insertmu sync.Mutex // block and state insert lock + mu sync.RWMutex // global mutex for locking chain operations + chainmu sync.RWMutex // blockchain insertion lock + procmu sync.RWMutex // block processor lock + insertmu sync.Mutex // block and state insert lock checkpoint int // checkpoint counts towards the new checkpoint currentBlock *types.Block // Current head of the block chain