-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Conversation
I cannot check right now but I will within 2h max. |
Because the promise returned by I think it now depends which interface is easier to consume. If you want many events, using the event-based interface is really nice. For one, it won't be worth the boilerplate. |
I merged |
@derhuerst I also forgot to mention it I am also (now) on Ropsten. If it works for you both, I can propose you to connect with me and we check together or we leave it as it is, and I test again once the PRs is merged. Up to you. |
Still to do:
|
// along with Parity. If not, see <http://www.gnu.org/licenses/>. | ||
|
||
export default (chain) => { | ||
return chain === 'morden' || chain === 'ropsten' || chain === 'testnet'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
? Redux has isTest, don't want to maintain it in yet another place, we just simplified and got it down to 1. (And had to make changes.)
In addition, we are really starting to clutter /utils now with all these single function files. There is no reason why things can't be grouped, e.g. had to move nullable to protypes once we added another one. (General grumble)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed as of 88cb1df.
// You should have received a copy of the GNU General Public License | ||
// along with Parity. If not, see <http://www.gnu.org/licenses/>. | ||
|
||
import EventEmitter from 'eventemitter3'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would have really preferred a general solution that (a) doesn't add another way of doing things, (b) is available to everybody. But suppose it solves the immediate issue, so once we have a general solution in-place will have to come back.
Changes Unknown when pulling f1bc69a on jr-update-sms-verification into ** on master**. |
This PR adapts the SMS verification modal to the changes in the server and adds a few more checks. Fixes #3514.
@chevdor Please check, I will keep the
ropsten
server running now.22e1384 and c62c72d make the modal wait until the
Puzzled
event, posted by the server, has actually been mined. This prevents the follow-upconfirm
tx from failing (and therefore using up all gas).As requested by @gavofyork, 6509252 makes the modal check if the code is valid using
contract.confirm.call()
.