Sweep operations might not create any txs, so make logging more precise
This commit is contained in:
@@ -64,7 +64,7 @@ void AsyncRPCOperation_sweep::main() {
|
|||||||
set_state(OperationStatus::FAILED);
|
set_state(OperationStatus::FAILED);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string s = strprintf("%s: Sweep transaction created. (status=%s", getId(), getStateAsString());
|
std::string s = strprintf("%s: Sweep operation finished. (status=%s", getId(), getStateAsString());
|
||||||
if (success) {
|
if (success) {
|
||||||
s += strprintf(", success)\n");
|
s += strprintf(", success)\n");
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user