diff --git a/ui/app/pages/send/send.component.js b/ui/app/pages/send/send.component.js index b5865c4ba..727c213af 100644 --- a/ui/app/pages/send/send.component.js +++ b/ui/app/pages/send/send.component.js @@ -154,6 +154,7 @@ export default class SendTransactionScreen extends Component { if (sendTokenAddress && prevTokenAddress !== sendTokenAddress) { this.updateSendToken() + this.validate(sendTokenAddress) updateGas = true } diff --git a/ui/app/pages/send/tests/send-component.test.js b/ui/app/pages/send/tests/send-component.test.js index 42a3dc504..4c5cd04e3 100644 --- a/ui/app/pages/send/tests/send-component.test.js +++ b/ui/app/pages/send/tests/send-component.test.js @@ -138,7 +138,7 @@ describe('Send Component', function () { balance: '', }, }) - assert(utilsMethodStubs.doesAmountErrorRequireUpdate.calledOnce) + assert(utilsMethodStubs.doesAmountErrorRequireUpdate.calledTwice) assert.deepEqual( utilsMethodStubs.doesAmountErrorRequireUpdate.getCall(0).args[0], {