From 4f1cc2fc07b545dde3bceee2e8ca35de1a694265 Mon Sep 17 00:00:00 2001 From: Hiroyuki Naito Date: Tue, 17 Oct 2023 18:50:32 +0900 Subject: [PATCH] Delete depulicate code --- package.json | 2 +- universalDecoder.js | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/package.json b/package.json index 3842155..dba2235 100644 --- a/package.json +++ b/package.json @@ -1 +1 @@ -{"scripts":{"test":"mocha ./**/*.js"},"dependencies":{"rewire":"^7.0.0"}} \ No newline at end of file +{"scripts":{"test":"mocha ./tests/**/*.js"},"dependencies":{"rewire":"^7.0.0"}} diff --git a/universalDecoder.js b/universalDecoder.js index eff4ff2..34280eb 100644 --- a/universalDecoder.js +++ b/universalDecoder.js @@ -127,13 +127,13 @@ const uniswapFullDecodedInput = (txnData) => ({ // Exporting functions module.exports = { - hasUniswapCommands: hasUniswapCommands, - uniswapCommands: uniswapCommands, - uniswapCommandArray: uniswapCommandArray, - uniswapInputArray: uniswapInputArray, - uniswapDecodedInputArray: uniswapDecodedInputArray, - uniswapV3PathDecode: uniswapV3PathDecode, - uniswapV3DecodedInputArray: uniswapV3DecodedInputArray, - uniswapDeadline: uniswapDeadline, - uniswapFullDecodedInput: uniswapFullDecodedInput, + hasUniswapCommands, + uniswapCommands, + uniswapCommandArray, + uniswapInputArray, + uniswapDecodedInputArray, + uniswapV3PathDecode, + uniswapV3DecodedInputArray, + uniswapDeadline, + uniswapFullDecodedInput, };