mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-01-24 22:19:37 +00:00
Adding back calling code block for dev_funds
This may have been removed in the rebase, adding it back in.
This commit is contained in:
parent
a43627de5b
commit
472b87f4cd
@ -180,6 +180,12 @@ Blockchain.prototype.run = function() {
|
||||
self.child.stderr.on('data', (data) => {
|
||||
data = data.toString();
|
||||
if (!self.readyCalled && data.indexOf('WebSocket endpoint opened') > -1) {
|
||||
if (self.isDev) {
|
||||
self.createFundAndUnlockAccounts((err) => {
|
||||
// TODO: this is never called!
|
||||
if(err) console.error('Error creating, unlocking, and funding accounts', err);
|
||||
});
|
||||
}
|
||||
self.readyCalled = true;
|
||||
self.readyCallback();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user