mirror of
https://github.com/status-im/status-react.git
synced 2025-01-11 03:26:31 +00:00
eip-1193 fix
Signed-off-by: andrey <motor4ik@gmail.com>
This commit is contained in:
parent
68722340c9
commit
f9fb4d6974
@ -103,7 +103,7 @@
|
||||
}
|
||||
else
|
||||
{
|
||||
callback.resolve(data.result);
|
||||
callback.resolve(data.result.result);
|
||||
}
|
||||
}
|
||||
else if (callback.results)
|
||||
@ -183,7 +183,7 @@
|
||||
var syncResponse = getSyncResponse({method: method});
|
||||
if (syncResponse){
|
||||
return new Promise(function (resolve, reject) {
|
||||
resolve(syncResponse);
|
||||
resolve(syncResponse.result);
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user