diff --git a/js/models/core/Wallet.js b/js/models/core/Wallet.js index 395f952d3..efba503dc 100644 --- a/js/models/core/Wallet.js +++ b/js/models/core/Wallet.js @@ -318,7 +318,7 @@ Wallet.prototype._onAddressBook = function(senderId, data, isInbound) { Wallet.prototype.updateTimestamp = function() { - this.lastTimestamp = microtime.now(); + this.lastTimestamp = new Date().getTime() * 1000; }; Wallet.prototype._onData = function(senderId, data, isInbound) { diff --git a/package.json b/package.json index fe84e9ba1..d68f10f9f 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,6 @@ }, "version": "0.4.7", "dependencies": { - "microtime": "^1.0.1", "mocha": "^1.18.2", "mocha-lcov-reporter": "0.0.1", "optimist": "^0.6.1",