Skip to content

Commit

Permalink
Merge 54ee8f6 into b19d962
Browse files Browse the repository at this point in the history
  • Loading branch information
Emyrk committed Jul 25, 2017
2 parents b19d962 + 54ee8f6 commit e047438
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion electron-wrapper/app/main.js
Expand Up @@ -85,7 +85,7 @@ function execWalletd() {
// Runs when the wallet is able to start serving web pages
function runWhenWalletUp(callback){
request.get('http://localhost:' + PORT_TO_SERVE + "/GET?request=on" ,function(err,res,body){
if (!err && res.statusCode == 200) {
if (res != undefined && res.statusCode == 200) {
callback()
} else {
console.log("Not up yet, trying again in 0.5seconds...")
Expand Down

0 comments on commit e047438

Please sign in to comment.