+ InboundPaymentInfoStorage { payments: HashMap::new() }
+}
+
+pub(crate) fn read_outbound_payment_info(path: &Path) -> OutboundPaymentInfoStorage {
+ if let Ok(file) = File::open(path) {
+ if let Ok(info) = OutboundPaymentInfoStorage::read(&mut BufReader::new(file)) {
+ return info;
+ }
+ }
+ OutboundPaymentInfoStorage { payments: HashMap::new() }