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 6fd4328 commit 5717039Copy full SHA for 5717039
apps/pyth-lazer-agent/src/lazer_publisher.rs
@@ -189,7 +189,7 @@ mod tests {
189
let mut temp_file = NamedTempFile::new().unwrap();
190
temp_file
191
.as_file_mut()
192
- .write(private_key_string.as_bytes())
+ .write_all(private_key_string.as_bytes())
193
.unwrap();
194
temp_file.flush().unwrap();
195
@@ -228,7 +228,7 @@ mod tests {
228
feed_id: Some(1),
229
source_timestamp: MessageField::some(Timestamp::now()),
230
update: Some(Update::PriceUpdate(PriceUpdate {
231
- price: Some(100_000_00000000),
+ price: Some(100_000 * 100_000_000),
232
..PriceUpdate::default()
233
})),
234
special_fields: Default::default(),
0 commit comments