diff --git a/base_layer/core/src/proof_of_work/monero_rx/pow_data.rs b/base_layer/core/src/proof_of_work/monero_rx/pow_data.rs index cd4237e885..d6101c017d 100644 --- a/base_layer/core/src/proof_of_work/monero_rx/pow_data.rs +++ b/base_layer/core/src/proof_of_work/monero_rx/pow_data.rs @@ -142,8 +142,8 @@ mod test { #[test] fn consensus_serialization() { let bytes = from_hex(POW_DATA_BLOB).unwrap(); - let data = MoneroPowData::from_consensus_bytes(bytes.as_slice()) - .expect("If this fails then consensus has changed"); + let data = + MoneroPowData::from_consensus_bytes(bytes.as_slice()).expect("If this fails then consensus has changed"); assert_eq!(data.transaction_count, 80); assert_eq!(data.coinbase_merkle_proof.branch().len(), 6); assert_eq!(bytes.len(), 435);