mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-05-14 01:18:35 -07:00
global: utxos part 7
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user