don't compare result with undefined seq

This commit is contained in:
Andrew Dolgov 2018-11-29 21:07:19 +03:00
parent 4508e3103d
commit 1b91bb4564
1 changed files with 1 additions and 1 deletions

View File

@ -940,7 +940,7 @@ function handle_rpc_json(transport, scheduled_call) {
const seq = reply['seq'];
if (get_seq() != seq) {
if (seq && get_seq() != seq) {
console.log("[handle_rpc_json] sequence mismatch: " + seq +
" (want: " + get_seq() + ")");
return true;