From dfbd26d195b9cbc57c86e31254c3c9894feaed9f Mon Sep 17 00:00:00 2001 From: Oskar Thoren Date: Tue, 9 Feb 2021 12:12:29 +0800 Subject: [PATCH] Remove stdout logs for JSON resp --- hardhat.config.js | 1 - src/swap-helpers.js | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/hardhat.config.js b/hardhat.config.js index fb07639..e5f8a69 100644 --- a/hardhat.config.js +++ b/hardhat.config.js @@ -32,7 +32,6 @@ task("setupSwap", "Setup Swap") task("signCheque", "Sign cheque") .addParam("swapaddress", "Address to Swap Contract (Assumed to belong to Alice)") .setAction(async taskArgs => { - // TODO Argument, aliceSwapAddress var resp = await swap.signCheque(taskArgs.swapaddress); console.log(JSON.stringify(resp)); }); diff --git a/src/swap-helpers.js b/src/swap-helpers.js index 5bfeda2..a062d03 100644 --- a/src/swap-helpers.js +++ b/src/swap-helpers.js @@ -109,7 +109,7 @@ async function signCheque(swapAddress) { cumulativePayout: cumulativePayout }; - console.log("Cheque", cheque); + //console.log("Cheque", cheque); const types = { Cheque: ChequeType