mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
319ab42bc1
* Fix for #11503: when you send a transaction with value as 0x, you get a Bignumber error. Fix this by setting value to 0x0 is it's 0x. Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com> * 1. Fix this in app/scripts/controllers/transactions/lib/utils.js 2. Make sure other non-hex non-valid strings for value return 0x0 Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com> * Linting Fixes. Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com> * Instead of returning 0x0 for invalid hex values, throw a descriptive error Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com> * Unit tests. Lint fixes. Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com> * assert.throws takes a function Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com> * Lint Fixes. Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com> * Use standardized error message. Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com> * remove fixHexValue move code validating hex value to validateTxParams Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com> * Change message displayed if hex string is invalid. Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com> * Fixed missing second quote mark on message. Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com> |
||
---|---|---|
.. | ||
ens | ||
network | ||
permissions | ||
transactions | ||
alert.js | ||
app-state.js | ||
cached-balances.js | ||
cached-balances.test.js | ||
detect-tokens.js | ||
detect-tokens.test.js | ||
incoming-transactions.js | ||
incoming-transactions.test.js | ||
metametrics.js | ||
metametrics.test.js | ||
onboarding.js | ||
preferences.js | ||
preferences.test.js | ||
swaps.js | ||
swaps.test.js | ||
threebox.js | ||
token-rates-controller.test.js | ||
token-rates.js |