Skip to content

Commit c94ae4d

Browse files
authored
Merge pull request #58 from pyth-network/hash-acc-key
Derive Hash, Ord and PartialOrd for AccKey
2 parents ebfef91 + 1ad8e61 commit c94ae4d

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

pyth-sdk-solana/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-sdk-solana"
3-
version = "0.4.1"
3+
version = "0.4.2"
44
authors = ["Pyth Data Foundation"]
55
edition = "2018"
66
license = "Apache-2.0"

pyth-sdk-solana/src/state.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,9 @@ impl Default for PriceType {
127127
Default,
128128
PartialEq,
129129
Eq,
130+
Hash,
131+
Ord,
132+
PartialOrd,
130133
BorshSerialize,
131134
BorshDeserialize,
132135
serde::Serialize,

0 commit comments

Comments
 (0)