From 2493a00145fa9f62024a58a92b8baf4665896b25 Mon Sep 17 00:00:00 2001 From: Tommy Back Date: Tue, 28 Feb 2017 13:14:05 +0100 Subject: [PATCH] [FAB-2528] Correct ledger spelling. https://jira.hyperledger.org/browse/FAB-2528 Change-Id: I118277195ba12e13b3a7a78a616d011e32e99574 Signed-off-by: Tommy Back --- core/ledger/ledgermgmt/ledger_mgmt.go | 8 ++++---- peer/gossip/mcs/mcs.go | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/core/ledger/ledgermgmt/ledger_mgmt.go b/core/ledger/ledgermgmt/ledger_mgmt.go index d29ca30fb68..3d6a28901a8 100644 --- a/core/ledger/ledgermgmt/ledger_mgmt.go +++ b/core/ledger/ledgermgmt/ledger_mgmt.go @@ -64,7 +64,7 @@ func initialize() { // CreateLedger creates a new ledger with the given id func CreateLedger(id string) (ledger.PeerLedger, error) { - logger.Infof("Creating leadger with id = %s", id) + logger.Infof("Creating ledger with id = %s", id) lock.Lock() defer lock.Unlock() if !initialized { @@ -76,13 +76,13 @@ func CreateLedger(id string) (ledger.PeerLedger, error) { } l = wrapLedger(id, l) openedLedgers[id] = l - logger.Infof("Created leadger with id = %s", id) + logger.Infof("Created ledger with id = %s", id) return l, nil } // OpenLedger returns a ledger for the given id func OpenLedger(id string) (ledger.PeerLedger, error) { - logger.Infof("Opening leadger with id = %s", id) + logger.Infof("Opening ledger with id = %s", id) lock.Lock() defer lock.Unlock() if !initialized { @@ -98,7 +98,7 @@ func OpenLedger(id string) (ledger.PeerLedger, error) { } l = wrapLedger(id, l) openedLedgers[id] = l - logger.Infof("Opened leadger with id = %s", id) + logger.Infof("Opened ledger with id = %s", id) return l, nil } diff --git a/peer/gossip/mcs/mcs.go b/peer/gossip/mcs/mcs.go index d5c35f86786..087fbf05043 100644 --- a/peer/gossip/mcs/mcs.go +++ b/peer/gossip/mcs/mcs.go @@ -218,7 +218,7 @@ func (s *mspMessageCryptoService) getValidatedIdentity(peerIdentity api.PeerIden continue } - logger.Debugf("Validation succesed [% x] on [%s]", peerIdentity, chainID) + logger.Debugf("Validation succeeded [% x] on [%s]", peerIdentity, chainID) return identity, common.ChainID(chainID), nil }