fabric-samples/balance-transfer/app
sebastianpaulp 1879483ff8 Get block by hash Fixed
changes
1.
file path
fabric-samples/### balance-transfer/app/query.js
L 118
let response_payload = await channel.queryBlockByHash(Buffer.from(hash,'hex'), peer);

file path
fabric-samples/### balance-transfer/testAPIs.sh
Assigned block info to variable BLOCK_INFO, assign previous block hash to variable HASH and pass it to query block by hash endpoint

Signed-off-by: sebastianpaulp <spaul@jeadigital.com>
2018-10-24 17:11:03 +05:30
..
create-channel.js FAB-11518 2018-08-08 23:32:53 +05:30
helper.js FAB-11518 2018-08-08 23:32:53 +05:30
install-chaincode.js [FAB-11577] Fix balance transfer to install Chaincode 2018-08-13 19:51:37 +00:00
instantiate-chaincode.js FAB-11518 2018-08-08 23:32:53 +05:30
invoke-transaction.js FAB-11518 2018-08-08 23:32:53 +05:30
join-channel.js FAB-11518 2018-08-08 23:32:53 +05:30
query.js Get block by hash Fixed 2018-10-24 17:11:03 +05:30
update-anchor-peers.js [FAB-12173] balance-transfer: Update anchor peers 2018-10-17 22:48:25 +00:00