We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c6d025f commit 84f47aaCopy full SHA for 84f47aa
core/benches/proto_to_packet.rs
@@ -25,6 +25,7 @@ fn get_proto_packet(i: u8) -> PbPacket {
25
repair: false,
26
simple_vote_tx: false,
27
tracer_packet: false,
28
+ from_staked_node: false,
29
}),
30
sender_stake: 0,
31
core/src/lib.rs
@@ -106,6 +106,12 @@ pub fn proto_packet_to_packet(p: jito_protos::proto::packet::Packet) -> Packet {
106
if flags.repair {
107
packet.meta_mut().flags.insert(PacketFlags::REPAIR);
108
}
109
+ if flags.from_staked_node {
110
+ packet
111
+ .meta_mut()
112
+ .flags
113
+ .insert(PacketFlags::FROM_STAKED_NODE)
114
+ }
115
116
117
packet
0 commit comments