Skip to content

Commit

Permalink
modify: timestamp
Browse files Browse the repository at this point in the history
  • Loading branch information
samparsky committed Feb 5, 2019
1 parent bfe9632 commit 47b1558
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/validatorWorker/heartbeat.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ function heartbeat(adapter, channel){
assert.ok(validatorIdx !== -1, 'validatorTick: sending heartbeat for a channel where we are not validating')
const otherValidators = channel.spec.validators.filter(v => v.id != whoami)

const timestamp = new Date().toUTCString()
const timestamp = new Date().getTime()
return adapter.sign(timestamp)
.then(function(signature) {
return persistAndPropagate(adapter, otherValidators, channel, {
Expand Down

0 comments on commit 47b1558

Please sign in to comment.