mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-18 16:05:10 +00:00
[FAB-16474] marbles02 chaincode error
Signed-off-by: rthatcher <robert.thatcher@uk.ibm.com> Change-Id: I72d857b2fe905cbb75e33b76b1ac838e83e6f756
This commit is contained in:
parent
18712ca8f6
commit
1d379f341d
1 changed files with 3 additions and 3 deletions
|
|
@ -462,10 +462,10 @@ let Chaincode = class {
|
|||
}
|
||||
|
||||
const queryString = args[0];
|
||||
const pageSize = parseInt(args[2], 10);
|
||||
const bookmark = args[3];
|
||||
const pageSize = parseInt(args[1], 10);
|
||||
const bookmark = args[2];
|
||||
|
||||
const { iterator, metadata } = await stub.GetQueryResultWithPagination(queryString, pageSize, bookmark);
|
||||
const { iterator, metadata } = await stub.getQueryResultWithPagination(queryString, pageSize, bookmark);
|
||||
const getAllResults = thisClass['getAllResults'];
|
||||
const results = await getAllResults(iterator, false);
|
||||
// use RecordsCount and Bookmark to keep consistency with the go sample
|
||||
|
|
|
|||
Loading…
Reference in a new issue