Update evernode js lib version (#125)

This commit is contained in:
Chalith Desaman
2022-04-26 11:15:37 +05:30
committed by GitHub
parent d52da76499
commit f0bcb3d75b
3 changed files with 64 additions and 3092 deletions

View File

@@ -79,7 +79,7 @@ class MessageBoard {
const currentMoment = await this.hostClient.getMoment(e.ledger_index);
// Sending heartbeat every CONF_HOST_HEARTBEAT_FREQ moments.
if (currentMoment % this.hostClient.config.hostHeartbeatFreq === 0 && currentMoment !== this.lastHeartbeatMoment) {
if (this.lastHeartbeatMoment === 0 || (currentMoment % this.hostClient.config.hostHeartbeatFreq === 0 && currentMoment !== this.lastHeartbeatMoment)) {
this.lastHeartbeatMoment = currentMoment;
console.log(`Reporting heartbeat at Moment ${this.lastHeartbeatMoment}...`)

3152
mb-xrpl/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -5,7 +5,7 @@
"build": "npm run lint && ncc build app.js --minify -o dist"
},
"dependencies": {
"evernode-js-client": "0.4.29",
"evernode-js-client": "0.4.30",
"sqlite3": "5.0.2"
},
"devDependencies": {