[#4227] Allow DApps to identify status host
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
This commit is contained in:
parent
51e3a07aed
commit
c1b217e032
|
@ -22,6 +22,8 @@ var StatusHttpProvider = function (host, timeout) {
|
||||||
this.timeout = timeout || 0;
|
this.timeout = timeout || 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
StatusHttpProvider.prototype.isStatus = true;
|
||||||
|
|
||||||
function syncResponse(payload, result){
|
function syncResponse(payload, result){
|
||||||
return {id: payload.id,
|
return {id: payload.id,
|
||||||
jsonrpc: "2.0",
|
jsonrpc: "2.0",
|
||||||
|
|
Loading…
Reference in New Issue