Skip to content

Commit 17f487c

Browse files
committed
fixed possible crash bug.
1 parent 12897c8 commit 17f487c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libs/poolWorker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ module.exports = function(logger){
151151
else {
152152
pool.daemon.cmd('validateaddress', [workerName], function (results) {
153153
var isValid = results.filter(function (r) {
154-
return r.response.isvalid
154+
return r.response && r.response.isvalid;
155155
}).length > 0;
156156
authCallback(isValid);
157157
});

0 commit comments

Comments
 (0)