Skip to content

Commit

Permalink
Derive Clone on ProcessedHeader
Browse files Browse the repository at this point in the history
  • Loading branch information
durch committed Nov 14, 2023
1 parent 742e08c commit cbd182c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/header/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ pub struct SphinxHeader {
pub routing_info: EncapsulatedRoutingInformation,
}

#[derive(Clone)]
pub enum ProcessedHeader {
ForwardHop(Box<SphinxHeader>, NodeAddressBytes, Delay, PayloadKey),
FinalHop(DestinationAddressBytes, SURBIdentifier, PayloadKey),
Expand Down

0 comments on commit cbd182c

Please sign in to comment.