Merge #669: gui: ensure we can retry starting in case of error
6d9b754800ed336819e893b8864d75dd936b880b gui: ensure we can retry starting in case of error (jp1ac4)
Pull request description:
This will ensure we can retry starting internal `bitcoind` in case of transient errors.
ACKs for top commit:
edouardparis:
utACK 6d9b754800ed336819e893b8864d75dd936b880b
Tree-SHA512: b7abace801d1690bd084c7aa5b4bf6dcf2fc495c480538f1cae0f348a5179958010413f758fd00930036ee13030d848cf631196225f99d624e61c4b5a922ea92
This commit is contained in:
commit
dbfdd0dca1
@ -652,9 +652,9 @@ impl Step for InternalBitcoindStep {
|
||||
message::InternalBitcoindMsg::Previous => {
|
||||
if let Some(bitcoind) = &self.internal_bitcoind {
|
||||
bitcoind.stop();
|
||||
self.started = None;
|
||||
}
|
||||
self.internal_bitcoind = None;
|
||||
self.started = None; // clear both Ok and Err
|
||||
return Command::perform(async {}, |_| Message::Previous);
|
||||
}
|
||||
message::InternalBitcoindMsg::Reload => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user