Skip to content

Commit

Permalink
eip-1193 fix
Browse files Browse the repository at this point in the history
Signed-off-by: andrey <motor4ik@gmail.com>
  • Loading branch information
flexsurfer committed Aug 10, 2020
1 parent 6872234 commit f9fb4d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resources/js/provider.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
}
else
{
callback.resolve(data.result);
callback.resolve(data.result.result);
}
}
else if (callback.results)
Expand Down Expand Up @@ -183,7 +183,7 @@
var syncResponse = getSyncResponse({method: method});
if (syncResponse){
return new Promise(function (resolve, reject) {
resolve(syncResponse);
resolve(syncResponse.result);
});
}

Expand Down

0 comments on commit f9fb4d6

Please sign in to comment.