diff options
Diffstat (limited to 'packages/instant/src/util/error.ts')
-rw-r--r-- | packages/instant/src/util/error.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/instant/src/util/error.ts b/packages/instant/src/util/error.ts index 5db0c66d2..39c563c75 100644 --- a/packages/instant/src/util/error.ts +++ b/packages/instant/src/util/error.ts @@ -49,7 +49,7 @@ const humanReadableMessageForError = (error: Error, asset?: Asset): string | und if (error.message === AssetBuyerError.SignatureRequestDenied) { return 'You denied this transaction'; } - if (error.message === ZeroExInstantError.InsufficientBalance) { + if (error.message === ZeroExInstantError.InsufficientETH) { return "You don't have enough ETH"; } |