Skip to content

Commit b57e6a2

Browse files
fix(pyth-solana-receiver-sdk): remove lint reason (#3048)
1 parent 2b1c660 commit b57e6a2

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

target_chains/solana/pyth_solana_receiver_sdk/Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

target_chains/solana/pyth_solana_receiver_sdk/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "pyth-solana-receiver-sdk"
3-
version = "1.0.0"
3+
version = "1.0.1"
44
description = "SDK for the Pyth Solana Receiver program"
55
authors = ["Pyth Data Association"]
66
repository = "https://github.com/pyth-network/pyth-crosschain"

target_chains/solana/pyth_solana_receiver_sdk/src/price_update.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -329,10 +329,8 @@ pub mod tests {
329329

330330
#[test]
331331
fn check_size() {
332-
#[allow(
333-
deprecated,
334-
reason = "borsh0_10 is deprecated, v1::get_packed_len should be used in the future"
335-
)]
332+
// borsh0_10 is deprecated, v1::get_packed_len should be used in the future
333+
#[allow(deprecated)]
336334
let len = PriceUpdateV2::DISCRIMINATOR.len() + borsh0_10::get_packed_len::<PriceUpdateV2>();
337335
assert_eq!(len, PriceUpdateV2::LEN);
338336
}

0 commit comments

Comments
 (0)