aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/utils/abi_decoder.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/abi_decoder.ts b/src/utils/abi_decoder.ts
index 528a0e831..f988a5695 100644
--- a/src/utils/abi_decoder.ts
+++ b/src/utils/abi_decoder.ts
@@ -56,7 +56,7 @@ export class AbiDecoder {
}
private padZeros(address: string) {
let formatted = address;
- if (!_.includes(formatted, '0x')) {
+ if (_.startsWith(formatted, '0x')) {
formatted = formatted.slice(2);
}