From dff7a66b164886e91e26eb0cf08fe16ea2024065 Mon Sep 17 00:00:00 2001 From: Alejandro Cabeza Romero Date: Wed, 17 Jun 2026 17:37:25 +0200 Subject: [PATCH] fix wrong type in tests. --- tests/test_blockchain.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_blockchain.cpp b/tests/test_blockchain.cpp index 3aebe0f..4156c0d 100644 --- a/tests/test_blockchain.cpp +++ b/tests/test_blockchain.cpp @@ -59,8 +59,8 @@ static LogosBlockchainModule* createStartedModule(LogosTestContext& t, TempDir& t.mockCFunction("start_lb_node").returns(1); t.mockCFunction("subscribe_to_new_blocks").returns(0); - int rc = module->start(tmpDir.filePath("config.json"), ""); - if (rc != 0) { + std::string rc = module->start(tmpDir.filePath("config.json"), ""); + if (rc != "0") { delete module; return nullptr; }