Skip to content
This repository was archived by the owner on Jan 27, 2022. It is now read-only.
This repository was archived by the owner on Jan 27, 2022. It is now read-only.

The parameter updateIndex  #749

@MarkYQJ

Description

@MarkYQJ

Based on spec.,

Retrieving a Work Order Receipt Update
...
Inputs:
...
updateIndex is an index of the update to retrieve. Value "0xFFFFFFFF" is reserved to retrieve the last received update.

However, the receipt chaincode is implemented as below

func (t *Receipt) workOrderReceiptUpdateRetrieve(stub shim.ChaincodeStubInterface, args []string) pb.Response {
...
    // If updateIndex value "0xFFFFFFFF" is reserved to retrieve the last received update.
    if arg2 == 256 {
...
    }

256 looks like a wrong index value?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions