Skip to content

Commit

Permalink
[FAB-2528] Correct ledger spelling.
Browse files Browse the repository at this point in the history
https://jira.hyperledger.org/browse/FAB-2528

Change-Id: I118277195ba12e13b3a7a78a616d011e32e99574
Signed-off-by: Tommy Back <tommy.back@iki.fi>
  • Loading branch information
murrekatt committed Feb 28, 2017
1 parent eba8b28 commit 2493a00
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions core/ledger/ledgermgmt/ledger_mgmt.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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 {
Expand All @@ -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
}

Expand Down
2 changes: 1 addition & 1 deletion peer/gossip/mcs/mcs.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 2493a00

Please sign in to comment.