mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-08 17:26:04 +00:00
Remove old code
This commit is contained in:
@@ -62,12 +62,6 @@ pub fn calculate_execution_block_hash<T: EthSpec>(
|
|||||||
pub fn rlp_encode_withdrawal(withdrawal: &JsonWithdrawal) -> Vec<u8> {
|
pub fn rlp_encode_withdrawal(withdrawal: &JsonWithdrawal) -> Vec<u8> {
|
||||||
let mut out: Vec<u8> = vec![];
|
let mut out: Vec<u8> = vec![];
|
||||||
EncodableJsonWithdrawal::from(withdrawal).encode(&mut out);
|
EncodableJsonWithdrawal::from(withdrawal).encode(&mut out);
|
||||||
// rlp_stream.begin_list(4);
|
|
||||||
// rlp_stream.append(&withdrawal.index);
|
|
||||||
// rlp_stream.append(&withdrawal.validator_index);
|
|
||||||
// rlp_stream.append(&withdrawal.address);
|
|
||||||
// rlp_stream.append(&withdrawal.amount);
|
|
||||||
// rlp_stream.out().into()
|
|
||||||
out
|
out
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user