mirror of https://github.com/zcash/orchard.git
Rustfmt
This commit is contained in:
parent
cc708a6b4a
commit
0d078c8a90
|
@ -19,12 +19,10 @@ use serde::{Deserialize, Serialize};
|
|||
use std::iter;
|
||||
use subtle::{ConstantTimeEq, CtOption};
|
||||
|
||||
|
||||
// The uncommitted leaf is defined as pallas::Base(2).
|
||||
// <https://zips.z.cash/protocol/protocol.pdf#thmuncommittedorchard>
|
||||
lazy_static! {
|
||||
static ref UNCOMMITTED_ORCHARD: pallas::Base = pallas::Base::from_u64(2);
|
||||
|
||||
static ref EMPTY_ROOTS: Vec<pallas::Base> = {
|
||||
iter::empty()
|
||||
.chain(Some(*UNCOMMITTED_ORCHARD))
|
||||
|
|
Loading…
Reference in New Issue