Skip to content

Commit

Permalink
Merge pull request #1 from quapka/proto-type
Browse files Browse the repository at this point in the history
Specify the ProtocolType dynamically
  • Loading branch information
dufkan authored Oct 31, 2023
2 parents aa8dde8 + a91822e commit 9db93d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/protocol/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ mod tests {
ProtocolMessage::decode::<Bytes>(
ctx.advance(
&(ProtocolMessage {
protocol_type: ProtocolType::Frost as i32,
protocol_type: Self::PROTOCOL_TYPE as i32,
message: relay,
})
.encode_to_vec(),
Expand Down Expand Up @@ -234,7 +234,7 @@ mod tests {
ProtocolMessage::decode::<Bytes>(
ctx.advance(
&(ProtocolMessage {
protocol_type: ProtocolType::Frost as i32,
protocol_type: Self::PROTOCOL_TYPE as i32,
message: relay,
})
.encode_to_vec(),
Expand Down

0 comments on commit 9db93d0

Please sign in to comment.