Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.

Commit 58e1a5c

Browse files
author
Samuel Furter
committed
coerceFunction removed
1 parent 26e12d8 commit 58e1a5c

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

Diff for: packages/web3-eth-abi/src/index.js

+1-8
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,6 @@ import EthAbiCoder from './AbiCoder.js';
3636
export function AbiCoder() {
3737
return new EthAbiCoder(
3838
Utils,
39-
// TODO: Change this anonymous method to a accessable method because of the testing.
40-
new EthersAbiCoder((type, value) => {
41-
if (!isArray(value) && isObject(value) && value.toString) {
42-
return value.toString();
43-
}
44-
45-
return value;
46-
})
39+
new EthersAbiCoder()
4740
);
4841
}

0 commit comments

Comments
 (0)