MCPcopy
hub / github.com/yeasy/blockchain_guide / transactionKey

Function transactionKey

11_app_dev/chaincode_example03.go:421–423  ·  view source on GitHub ↗
(id int)

Source from the content-addressed store, hash-verified

419}
420
421func transactionKey(id int) string {
422 return fmt.Sprintf("transaction:%d", id)
423}
424
425func main() {
426 chaincode, err := contractapi.NewChaincode(&SmartContract{})

Callers 2

recordTransactionFunction · 0.85
readTransactionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected