mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-20 00:25:09 +00:00
[FAB-7533] Fix typo in balance-transfer sample
Trivial fix of a typo which causes the app to crash Change-Id: I55bb6a0e971d21adb0bd50f450571d6698686c9a Signed-off-by: Gari Singh <gari.r.singh@gmail.com>
This commit is contained in:
parent
038c496f4c
commit
5a974a42e0
1 changed files with 1 additions and 1 deletions
|
|
@ -100,7 +100,7 @@ var invokeChaincode = async function(peerNames, channelName, chaincodeName, fcn,
|
||||||
eh.unregisterTxEvent(tx_id_string);
|
eh.unregisterTxEvent(tx_id_string);
|
||||||
|
|
||||||
if (code !== 'VALID') {
|
if (code !== 'VALID') {
|
||||||
let message = until.format('The invoke chaincode transaction was invalid, code:%s',code);
|
let message = util.format('The invoke chaincode transaction was invalid, code:%s',code);
|
||||||
logger.error(message);
|
logger.error(message);
|
||||||
reject(new Error(message));
|
reject(new Error(message));
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue