[#4227] Allow DApps to identify status host

Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
This commit is contained in:
Julien Eluard 2018-05-11 18:32:38 +02:00
parent 51e3a07aed
commit c1b217e032
No known key found for this signature in database
GPG Key ID: 6FD7DB5437FCBEF6
1 changed files with 2 additions and 0 deletions

View File

@ -22,6 +22,8 @@ var StatusHttpProvider = function (host, timeout) {
this.timeout = timeout || 0;
};
StatusHttpProvider.prototype.isStatus = true;
function syncResponse(payload, result){
return {id: payload.id,
jsonrpc: "2.0",