Skip to content

Commit

Permalink
Always return true if AppInitMain got to the end
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
TheBlueMatt authored and furszy committed Feb 18, 2021
1 parent bd70dcc commit 50e5833
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/init.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1933,6 +1933,5 @@ bool AppInitMain()
}
#endif


return !fRequestShutdown;
return true;
}

0 comments on commit 50e5833

Please sign in to comment.