Skip to content

Commit e3f5d43

Browse files
committed
Fix test build after d138598
Building the tests was giving some vague error message about a doubly-defined symbol. The solution is to define ShutdownRequested in test_bitcoin.cpp as well so that init.cpp does not get pulled in.
1 parent d138598 commit e3f5d43

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/test/test_bitcoin.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,3 +84,8 @@ void StartShutdown()
8484
exit(0);
8585
}
8686

87+
bool ShutdownRequested()
88+
{
89+
return false;
90+
}
91+

0 commit comments

Comments
 (0)