diff --git a/zebra-chain/src/types/amount.rs b/zebra-chain/src/types/amount.rs index 3747a05e6..b6c0ed85a 100644 --- a/zebra-chain/src/types/amount.rs +++ b/zebra-chain/src/types/amount.rs @@ -134,6 +134,7 @@ impl From> for u64 { impl From> for jubjub::Fr { fn from(a: Amount) -> jubjub::Fr { + // TODO: this isn't constant time -- does that matter? if a.0 < 0 { jubjub::Fr::from(a.0.abs() as u64).neg() } else {