Skip to content

Commit

Permalink
Adapted for RTM
Browse files Browse the repository at this point in the history
  • Loading branch information
MoneroOcean committed Dec 9, 2021
1 parent 2784b83 commit 98b7eea
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions manage_scripts/altblock_add_auto.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ require("../init_mini.js").init(function() {
console.error("body:" + JSON.stringify(body_header));
process.exit(0);
}
if (!body_header.timestamp) body_header.timestamp = body_header.time;
if (!body_header.timestamp) body_header.timestamp = body_header.mediantime;
if (!body_header.timestamp) {
console.error("Can't get block timestamp: " + JSON.stringify(body_header));
process.exit(0);
Expand Down

0 comments on commit 98b7eea

Please sign in to comment.