Skip to content

Commit 096c789

Browse files
committed
f Return mapped error directly
1 parent 797274e commit 096c789

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

src/payment_store.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -201,8 +201,7 @@ where
201201
e
202202
);
203203
Error::PersistenceFailed
204-
})?;
205-
Ok(())
204+
})
206205
}
207206
}
208207

src/peer_store.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,7 @@ where
9292
e
9393
);
9494
Error::PersistenceFailed
95-
})?;
96-
Ok(())
95+
})
9796
}
9897
}
9998

0 commit comments

Comments
 (0)