aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/utils/assert.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/assert.ts b/src/utils/assert.ts
index d835d85c5..0e6169b44 100644
--- a/src/utils/assert.ts
+++ b/src/utils/assert.ts
@@ -26,7 +26,7 @@ export const assert = {
this.assert(web3.isAddress(value), this.typeAssertionMessage(variableName, 'ETHAddressHex', value));
this.assert(
web3.isAddress(value) && !web3.isChecksumAddress(value),
- 'Checksummed addresses are not supported. Convert to lower case before passing',
+ `Checksummed addresses are not supported. Convert ${variableName} to lower case before passing`,
);
},
doesBelongToStringEnum(variableName: string, value: string,