mirror of
https://github.com/logos-blockchain/logos-blockchain-module.git
synced 2026-07-14 02:59:52 +00:00
fix wrong type in tests.
This commit is contained in:
parent
6c70a23963
commit
dff7a66b16
@ -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;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user