Fix 'NaN' txid for RPC when using IE
This commit is contained in:
1 parent
0f02d76b56
commit
59c4df3d9b
1 file changed
+5
@@ -13,6 +13,11 @@ define([
|
||||
};
|
||||
}
|
||||
|
||||
// RPC breaks if you don't support Number.MAX_SAFE_INTEGER
|
||||
if (Number && !Number.MAX_SAFE_INTEGER) {
|
||||
Number.MAX_SAFE_INTEGER = 9007199254740991;
|
||||
}
|
||||
|
||||
var mkFakeStore = function () {
|
||||
var fakeStorage = {
|
||||
getItem: function (k) { return fakeStorage[k]; },
|
||||
|
||||
Reference in new issue
Block a user