Fix INVALID_RESPONSE error in the file app

This commit is contained in:
yflory
2018-02-16 12:02:20 +01:00
parent 54a91f1153
commit 037a6ccc35
4 changed files with 12 additions and 9 deletions

2
rpc.js
View File

@@ -1181,7 +1181,7 @@ RPC.create = function (
});
case 'IS_NEW_CHANNEL':
return void isNewChannel(Env, msg[1], function (e, isNew) {
respond(null, [null, isNew, null]);
respond(e, [null, isNew, null]);
});
default:
console.error("unsupported!");