Skip to content

Commit

Permalink
fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
conradoplg committed May 21, 2021
1 parent 39e8a85 commit d4b7f5e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion zebra-chain/src/primitives/zcash_primitives.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@ impl TryFrom<&Transaction> for zcash_primitives::transaction::Transaction {
Transaction::V5 {
network_upgrade, ..
} => network_upgrade,
Transaction::V1 { .. } | Transaction::V2 { .. } | Transaction::V3 { .. } | Transaction::V4 { .. } => panic!("Zebra only uses librustzcash for V5 transactions"),
Transaction::V1 { .. }
| Transaction::V2 { .. }
| Transaction::V3 { .. }
| Transaction::V4 { .. } => panic!("Zebra only uses librustzcash for V5 transactions"),
};

let serialized_tx = trans.zcash_serialize_to_vec()?;
Expand Down

0 comments on commit d4b7f5e

Please sign in to comment.