Skip to content

Commit 25fe4d9

Browse files
committed
primitives - sentry - change ValidatorMessage.from to ValidatorId
1 parent e54bbb6 commit 25fe4d9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

primitives/src/sentry.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
use crate::validator::{ApproveState, Heartbeat, MessageTypes, NewState};
2-
use crate::{BigNum, Channel, ChannelId};
2+
use crate::{BigNum, Channel, ChannelId, ValidatorId};
33
use chrono::{DateTime, Utc};
44
use serde::{Deserialize, Serialize};
55
use std::collections::HashMap;
@@ -96,7 +96,7 @@ pub struct SuccessResponse {
9696

9797
#[derive(Serialize, Deserialize, Debug)]
9898
pub struct ValidatorMessage {
99-
pub from: String,
99+
pub from: ValidatorId,
100100
pub received: DateTime<Utc>,
101101
pub msg: MessageTypes,
102102
}

0 commit comments

Comments
 (0)