Skip to content

Commit

Permalink
code cleanup;
Browse files Browse the repository at this point in the history
  • Loading branch information
greenhat committed Jun 26, 2020
1 parent 00c78d4 commit e6d8dbc
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions sigma-tree/src/chain/ergo_box.rs
Expand Up @@ -131,18 +131,6 @@ impl ErgoBox {
}
}

// impl From<&ErgoBox> for ErgoBoxCandidate {
// fn from(b: &ErgoBox) -> Self {
// ErgoBoxCandidate {
// value: b.value.clone(),
// ergo_tree: b.ergo_tree.unwrap().clone(),
// tokens: b.tokens.clone(),
// additional_registers: b.additional_registers.clone(),
// creation_height: b.creation_height,
// }
// }
// }

// impl SigmaSerializable for ErgoBox {
// fn sigma_serialize<W: vlq_encode::WriteSigmaVlqExt>(&self, w: &mut W) -> Result<(), io::Error> {
// let box_candidate = ErgoBoxCandidate::from(self);
Expand Down

0 comments on commit e6d8dbc

Please sign in to comment.