Skip to content

Commit 60d8161

Browse files
committed
update type in paylaoddata
1 parent bfffe23 commit 60d8161

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lazer/sdk/rust/protocol/src/payload.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ use {
1414
num::NonZeroI64,
1515
},
1616
};
17+
use crate::time::DurationUs;
1718

1819
/// Data contained within a signable payload.
1920
#[derive(Debug, Clone, PartialEq, Eq, Hash)]
@@ -52,7 +53,7 @@ pub struct AggregatedPriceFeedData {
5253
pub confidence: Option<Price>,
5354
pub funding_rate: Option<Rate>,
5455
pub funding_timestamp: Option<TimestampUs>,
55-
pub funding_rate_interval: Option<u64>,
56+
pub funding_rate_interval: Option<DurationUs>,
5657
}
5758

5859
/// First bytes of a payload's encoding

0 commit comments

Comments
 (0)