Skip to content

Commit

Permalink
Merge "[FAB-2528] Correct ledger spelling."
Browse files Browse the repository at this point in the history
  • Loading branch information
christo4ferris authored and Gerrit Code Review committed Mar 1, 2017
2 parents 6a3f766 + 2493a00 commit 803962b
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 803962b

Please sign in to comment.