From 07cf08d2ff993f88c005d04583f233a186479611 Mon Sep 17 00:00:00 2001 From: Chalith Desaman Date: Sun, 3 Mar 2024 15:05:49 +0530 Subject: [PATCH] Update reg condition check (#371) --- mb-xrpl/lib/message-board.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mb-xrpl/lib/message-board.js b/mb-xrpl/lib/message-board.js index 1365c45..ff10a62 100644 --- a/mb-xrpl/lib/message-board.js +++ b/mb-xrpl/lib/message-board.js @@ -144,7 +144,7 @@ class MessageBoard { hostInfo.cpuMicrosec === cpuMicroSec && hostInfo.ramMb === ramMb && hostInfo.diskMb === diskMb && - hostInfo.leaseAmount === this.cfg.xrpl.leaseAmount)) { + parseFloat(hostInfo.leaseAmount) === this.cfg.xrpl.leaseAmount)) { await this.#queueAction(async (submissionRefs) => { submissionRefs.refs ??= [{}]; // Check again wether the transaction is validated before retry.