Fix 'NaN' txid for RPC when using IE

pull/1/head
yflory 2018-01-03 17:14:35 +01:00
parent 0f02d76b56
commit 59c4df3d9b
1 changed files with 5 additions and 0 deletions

View File

@ -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]; },