global: utxos part 7

This commit is contained in:
nym21
2025-05-24 12:52:15 +02:00
parent 2883f88de6
commit 4ab10670c9
24 changed files with 4237 additions and 3385 deletions

View File

@@ -20,6 +20,12 @@ impl Add<SupplyState> for SupplyState {
}
}
impl AddAssign<SupplyState> for SupplyState {
fn add_assign(&mut self, rhs: Self) {
*self += &rhs;
}
}
impl AddAssign<&SupplyState> for SupplyState {
fn add_assign(&mut self, rhs: &Self) {
self.utxos += rhs.utxos;