Skip to content

Commit 07c4838

Browse files
committed
Always return true if AppInitMain got to the end
This should fix a very rare travis failure in zapwallettxes, but is also more correct, as you can currently race ReacceptWalletTransactions with stop RPC calls to get bitcoind to (IMO) eroneously return a non-0 exit code.
1 parent 91eeaa0 commit 07c4838

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/init.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1726,5 +1726,5 @@ bool AppInitMain(boost::thread_group& threadGroup, CScheduler& scheduler)
17261726
StartWallets(scheduler);
17271727
#endif
17281728

1729-
return !fRequestShutdown;
1729+
return true;
17301730
}

0 commit comments

Comments
 (0)