mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-05-02 06:46:06 -04:00
Remove nonsensical monero * monero multiplication
This commit is contained in:
parent
627b1a9f00
commit
883a913f30
2 changed files with 5 additions and 5 deletions
|
@ -97,11 +97,11 @@ impl Sub for Amount {
|
|||
}
|
||||
}
|
||||
|
||||
impl Mul for Amount {
|
||||
impl Mul<u64> for Amount {
|
||||
type Output = Amount;
|
||||
|
||||
fn mul(self, rhs: Self) -> Self::Output {
|
||||
Self(self.0 * rhs.0)
|
||||
fn mul(self, rhs: u64) -> Self::Output {
|
||||
Self(self.0 * rhs)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue