mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-05-09 13:49:09 -07:00
computer: store part 9
This commit is contained in:
@@ -95,6 +95,10 @@ impl CheckedSub<usize> for Sats {
|
||||
impl SubAssign for Sats {
|
||||
fn sub_assign(&mut self, rhs: Self) {
|
||||
*self = self.checked_sub(rhs).unwrap();
|
||||
// .unwrap_or_else(|| {
|
||||
// dbg!((*self, rhs));
|
||||
// unreachable!();
|
||||
// });
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user