Remove duplicate from MerkleTree
This commit is contained in:
parent
b4b72829b2
commit
19258d6f54
|
@ -16,12 +16,6 @@ pub struct MerkleTree<T> {
|
||||||
leaves: Vec<T>,
|
leaves: Vec<T>,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<T> MerkleTree<T> {
|
|
||||||
pub fn get_root(&self) -> Sha256 {
|
|
||||||
unimplemented!();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
impl<Transaction> ZcashSerialize for MerkleTree<Transaction> {
|
impl<Transaction> ZcashSerialize for MerkleTree<Transaction> {
|
||||||
fn zcash_serialize<W: io::Write>(&self, writer: W) -> Result<(), SerializationError> {
|
fn zcash_serialize<W: io::Write>(&self, writer: W) -> Result<(), SerializationError> {
|
||||||
unimplemented!();
|
unimplemented!();
|
||||||
|
|
Loading…
Reference in New Issue