mirror of https://github.com/BTCPrivate/copay.git
fix timestamp method
This commit is contained in:
parent
981c56f091
commit
477875d309
|
@ -318,7 +318,7 @@ Wallet.prototype._onAddressBook = function(senderId, data, isInbound) {
|
||||||
|
|
||||||
|
|
||||||
Wallet.prototype.updateTimestamp = function() {
|
Wallet.prototype.updateTimestamp = function() {
|
||||||
this.lastTimestamp = microtime.now();
|
this.lastTimestamp = new Date().getTime() * 1000;
|
||||||
};
|
};
|
||||||
|
|
||||||
Wallet.prototype._onData = function(senderId, data, isInbound) {
|
Wallet.prototype._onData = function(senderId, data, isInbound) {
|
||||||
|
|
|
@ -11,7 +11,6 @@
|
||||||
},
|
},
|
||||||
"version": "0.4.7",
|
"version": "0.4.7",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"microtime": "^1.0.1",
|
|
||||||
"mocha": "^1.18.2",
|
"mocha": "^1.18.2",
|
||||||
"mocha-lcov-reporter": "0.0.1",
|
"mocha-lcov-reporter": "0.0.1",
|
||||||
"optimist": "^0.6.1",
|
"optimist": "^0.6.1",
|
||||||
|
|
Loading…
Reference in New Issue