Skip to content

Commit b68f228

Browse files
committed
修改冲突
1 parent a24ff9b commit b68f228

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

kernel/contract/sandbox/cross_query_cache.go

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -248,9 +248,6 @@ func isEndorsorSignValid(signsValid []*pb.SignatureInfo, queryInfo *pb.CrossQuer
248248
//log.Info("Marshal Response failed", "err", err)
249249
return false
250250
}
251-
<<<<<<< HEAD
252-
cryptoClient, err := crypto_client.CreateCryptoClient(crypto_client.CryptoTypeDefault)
253-
=======
254251

255252
//bug(springrain) 需要定义一个参数,用于标示目标链的的加密方式,默认非国密
256253
cryptoType := crypto_client.CryptoTypeDefault
@@ -263,7 +260,7 @@ func isEndorsorSignValid(signsValid []*pb.SignatureInfo, queryInfo *pb.CrossQuer
263260
}
264261
}
265262
cryptoClient, err := crypto_client.CreateCryptoClient(cryptoType)
266-
>>>>>>> d35f343 (crypto和默认命名保持一致)
263+
267264
data := append(reqData[:], resData[:]...)
268265
digest := hash.UsingSha256(data)
269266
for idx := range signsValid {

0 commit comments

Comments
 (0)