Remove nonsensical monero * monero multiplication

This commit is contained in:
rishflab 2020-12-08 16:12:00 +11:00
parent 627b1a9f00
commit 883a913f30
2 changed files with 5 additions and 5 deletions

View file

@ -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)
}
}