diff --git a/assets/update.go b/assets/update.go index 08f575a..33b4ba3 100644 --- a/assets/update.go +++ b/assets/update.go @@ -9,7 +9,8 @@ import ( "github.com/hyperledger/fabric/core/chaincode/shim" ) -// Update receives a map[string]interface{} with key/vals to update in asset +// Update receives a map[string]interface{} with key/vals to update the asset value in the wolrd state +// The old asset is still on the blockchain history func (a *Asset) Update(stub shim.ChaincodeStubInterface, update map[string]interface{}) (map[string]interface{}, error) { // Fetch asset properties assetTypeDef := a.Type()