File tree Expand file tree Collapse file tree 3 files changed +2
-9
lines changed Expand file tree Collapse file tree 3 files changed +2
-9
lines changed Original file line number Diff line number Diff line change @@ -50,13 +50,6 @@ pub struct AnalyticsQuery {
50
50
}
51
51
52
52
impl AnalyticsQuery {
53
- pub fn metric_to_column ( & mut self ) {
54
- self . metric = match self . metric . as_str ( ) {
55
- "eventCounts" => "count" . to_string ( ) ,
56
- "eventPayouts" => "payout" . to_string ( ) ,
57
- _ => "count" . to_string ( ) ,
58
- } ;
59
- }
60
53
pub fn is_valid ( & self ) -> Result < ( ) , DomainError > {
61
54
let valid_event_types = [ "IMPRESSION" , "CLICK" ] ;
62
55
let valid_metric = [ "eventPayouts" , "eventCounts" ] ;
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ pub struct ApproveStateValidatorMessage {
31
31
32
32
#[ derive( Serialize , Deserialize , Debug ) ]
33
33
pub struct HeartbeatValidatorMessage {
34
- pub from : String ,
34
+ pub from : ValidatorId ,
35
35
pub received : DateTime < Utc > ,
36
36
pub msg : MessageTypes ,
37
37
}
Original file line number Diff line number Diff line change @@ -3,4 +3,4 @@ ADAPTER=dummy
3
3
DUMMY_IDENTITY=ce07CbB7e054514D590a0262C93070D838bFBA2e
4
4
# for Ethereum adapter
5
5
#KEYSTORE_FILE="/app/keystore.json"
6
- #KEYSTORE_PWD="adexvalidator"
6
+ #KEYSTORE_PWD="adexvalidator"
You can’t perform that action at this time.
0 commit comments