We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a70bdfb commit 3f216b6Copy full SHA for 3f216b6
validator/downloaders/wait-block-state.cpp
@@ -34,7 +34,7 @@ void WaitBlockState::alarm() {
34
void WaitBlockState::abort_query(td::Status reason) {
35
if (promise_no_store_) {
36
promise_no_store_.set_error(
37
- reason.move_as_error_prefix(PSTRING() << "failed to download state " << handle_->id() << ": "));
+ reason.clone().move_as_error_prefix(PSTRING() << "failed to download state " << handle_->id() << ": "));
38
}
39
if (promise_final_) {
40
if (priority_ > 0 || (reason.code() != ErrorCode::timeout && reason.code() != ErrorCode::notready)) {
0 commit comments