Fix certPath in assetTransfer.go

current version of network.sh does not generate cert.pem as filename

Signed-off-by: thejjw <72130076+thejjw@users.noreply.github.com>
This commit is contained in:
thejjw 2024-01-15 10:28:44 +09:00 committed by GitHub
parent 02d9f8c58b
commit a5164eeabd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -28,7 +28,7 @@ import (
const (
mspID = "Org1MSP"
cryptoPath = "../../test-network/organizations/peerOrganizations/org1.example.com"
certPath = cryptoPath + "/users/User1@org1.example.com/msp/signcerts/cert.pem"
certPath = cryptoPath + "/users/User1@org1.example.com/msp/signcerts/User1@org1.example.com-cert.pem"
keyPath = cryptoPath + "/users/User1@org1.example.com/msp/keystore/"
tlsCertPath = cryptoPath + "/peers/peer0.org1.example.com/tls/ca.crt"
peerEndpoint = "localhost:7051"