Skip to content

Commit

Permalink
fix typo issue
Browse files Browse the repository at this point in the history
Signed-off-by: hello2mao <hello2mao@gmail.com>
  • Loading branch information
hello2mao committed Apr 8, 2020
1 parent c83d7e8 commit c2e83fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions msp/mgmt/mgmt.go
Original file line number Diff line number Diff line change
Expand Up @@ -139,12 +139,12 @@ func GetLocalMSP(cryptoProvider bccsp.BCCSP) msp.MSP {
return localMsp
}

localMsp = loadLocaMSP(cryptoProvider)
localMsp = loadLocalMSP(cryptoProvider)

return localMsp
}

func loadLocaMSP(bccsp bccsp.BCCSP) msp.MSP {
func loadLocalMSP(bccsp bccsp.BCCSP) msp.MSP {
// determine the type of MSP (by default, we'll use bccspMSP)
mspType := viper.GetString("peer.localMspType")
if mspType == "" {
Expand Down

0 comments on commit c2e83fa

Please sign in to comment.