mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-07-13 12:08:13 -07:00
global: snapshot
This commit is contained in:
@@ -69,15 +69,6 @@ impl UnaryTransform<Cents, Sats> for CentsUnsignedToSats {
|
||||
}
|
||||
}
|
||||
|
||||
pub struct CentsPlus;
|
||||
|
||||
impl BinaryTransform<Cents, Cents, Cents> for CentsPlus {
|
||||
#[inline(always)]
|
||||
fn apply(lhs: Cents, rhs: Cents) -> Cents {
|
||||
lhs + rhs
|
||||
}
|
||||
}
|
||||
|
||||
pub struct CentsSubtractToCentsSigned;
|
||||
|
||||
impl BinaryTransform<Cents, Cents, CentsSigned> for CentsSubtractToCentsSigned {
|
||||
|
||||
@@ -14,7 +14,7 @@ pub use bps::{
|
||||
Bps32ToPercent,
|
||||
};
|
||||
pub use currency::{
|
||||
CentsPlus, CentsSignedToDollars, CentsSubtractToCentsSigned, CentsTimesTenths,
|
||||
CentsSignedToDollars, CentsSubtractToCentsSigned, CentsTimesTenths,
|
||||
CentsUnsignedToDollars, CentsUnsignedToSats, DollarsToSatsFract, NegCentsUnsignedToDollars,
|
||||
SatsSignedToBitcoin, SatsToBitcoin, SatsToCents,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user