Fabric-SDK -Golang error #fabric-questions


jeff.jo95z@...
 

I was trying to implement fabric SDK-Golang. Only a single organization is there in the network
While submitting the transaction got this error:

 
createCar:
 
Submit Transaction: createCar  
panic: failed to submit transaction: rpc error: code = Aborted desc = failed to endorse transaction, see attached details for more info
 
 
 
goroutine 1 [running]:
 
main.createCar(0xc00023ff18)
 
        /home/jeffin/FabricNetwork-2.x-singleOrg/application-gateway-go/assetTransfer.go:80 +0x23a
 
main.main()
 
        /home/jeffin/FabricNetwork-2.x-singleOrg/application-gateway-go/assetTransfer.go:67 +0x377
 
exit status 2

Attaching the sdk file for the reference

Join fabric@lists.hyperledger.org to automatically receive all group messages.