Skip to content

Commit

Permalink
crypto和默认命名保持一致
Browse files Browse the repository at this point in the history
  • Loading branch information
springrain committed Nov 15, 2021
1 parent 55f90b3 commit 5e23594
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/contract/sandbox/cross_query_cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ func isEndorsorSignValid(signsValid []*pb.SignatureInfo, queryInfo *pb.CrossQuer
cryptoType := crypto_client.CryptoTypeDefault
argsMap := queryInfo.GetRequest().Request.GetArgs()
if argsMap != nil {
if crypto, ok := argsMap["cryptotype"]; ok {
if crypto, ok := argsMap["crypto"]; ok {
if string(crypto) == "gm" {
cryptoType = "gm"
}
Expand Down

0 comments on commit 5e23594

Please sign in to comment.