| 537 | } |
| 538 | |
| 539 | void WalletLegacy::payment_queue_remove(const Hash &tid) { |
| 540 | const std::string file = get_payment_queue_folder() + "/" + common::pod_to_hex(tid) + ".tx"; |
| 541 | if (!platform::remove_file(file)) |
| 542 | m_log(logging::WARNING) << "Failed to remove PQ transaction " << tid << " from file " << file; |
| 543 | else |
| 544 | m_log(logging::INFO) << "Removed PQ transaction " << tid << " from file " << file; |
| 545 | platform::remove_file(get_payment_queue_folder()); // When it becomes empty |
| 546 | } |
| 547 | |
| 548 | void WalletLegacy::set_label(const std::string &address, const std::string &label) { |
| 549 | throw std::runtime_error("Legacy wallet file cannot store labels"); |
nothing calls this directly
no test coverage detected