Removing unused code
This commit is contained in:
@@ -25,16 +25,3 @@ pub struct Transaction {
|
||||
to: String,
|
||||
amount: f64,
|
||||
}
|
||||
|
||||
// impl TransactionList {
|
||||
// fn create(&mut self, keys: &Ed25519KeyPair) -> bft_json_crdt::json_crdt::SignedOp {
|
||||
// // generate a placeholder transaction
|
||||
// let transaction = _fake_transaction(keys.public().to_string());
|
||||
|
||||
// // next job is to keep adding to this guy
|
||||
// let last: &Op<Transaction>;
|
||||
// last = self.list.ops.last().expect("couldn't find last op");
|
||||
// let signed_op = self.list.insert(last.id, transaction.clone()).sign(&keys);
|
||||
// signed_op
|
||||
// }
|
||||
// }
|
||||
|
||||
Reference in New Issue
Block a user