From d13c468526257d9cf6b3e2b551175a59831de328 Mon Sep 17 00:00:00 2001 From: cgewecke Date: Mon, 18 May 2020 09:44:35 -0700 Subject: [PATCH] Add detail to compatibility comment --- packages/web3-eth-abi/src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/web3-eth-abi/src/index.js b/packages/web3-eth-abi/src/index.js index f208030acb7..382b461d2d4 100644 --- a/packages/web3-eth-abi/src/index.js +++ b/packages/web3-eth-abi/src/index.js @@ -116,7 +116,7 @@ ABICoder.prototype.encodeParameters = function (types, params) { return param.toString(10); } - // Handle some formatting of params as to not break previous compatability + // Handle some formatting of params for backwards compatability with Ethers V4 const formatParam = (type, param) => { if (type.match(paramTypeBytesArray) || type.match(paramTypeNumberArray)) { return param.map(p => formatParam(type.replace('[]', ''), p))