From 5a974a42e0c04a856bdbcba68ed12771ba8a86ce Mon Sep 17 00:00:00 2001 From: Gari Singh Date: Sat, 6 Jan 2018 07:13:34 -0500 Subject: [PATCH] [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 --- balance-transfer/app/invoke-transaction.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/balance-transfer/app/invoke-transaction.js b/balance-transfer/app/invoke-transaction.js index 3b84d9ed..ff9f9c6d 100644 --- a/balance-transfer/app/invoke-transaction.js +++ b/balance-transfer/app/invoke-transaction.js @@ -100,7 +100,7 @@ var invokeChaincode = async function(peerNames, channelName, chaincodeName, fcn, eh.unregisterTxEvent(tx_id_string); 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); reject(new Error(message)); } else {