mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-24 11:01:41 +01:00
2b3acfc92b
The address is blank momentarily when navigating to the confirmation screen when sending a token. The address is updated in a subsequent render. The ENS reverse resolution is now only attempted if the address is given. It has also been updated to attempt resolution when the address is finally set, which fixes the reverse resolution for token sends. I had hoped to get rid of this interim render-without-address, but that turned out to be a bit more challenging. The problem is that the UI submits transactions through the provider just as a dapp would, and the provider doesn't say when the transaction is submitted. The promise returned doesn't resolve until after confirmation. We would have to start calling the background methods directly and bypass the provider to get the feedback we need, and that sounded potentially dangerous. Definitely a challenge for another day. |
||
---|---|---|
.. | ||
tests | ||
confirm-transaction-base.component.js | ||
confirm-transaction-base.container.js | ||
index.js |