merkle-tree: Get `Hash` et. al from program instead of sdk
This commit is contained in:
parent
a1d9b53cd7
commit
ddc0a16cec
|
@ -4792,7 +4792,7 @@ version = "1.7.0"
|
|||
dependencies = [
|
||||
"fast-math",
|
||||
"hex",
|
||||
"solana-sdk",
|
||||
"solana-program 1.7.0",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
|
|
|
@ -10,7 +10,7 @@ documentation = "https://docs.rs/solana-merkle-tree"
|
|||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
solana-sdk = { path = "../sdk", version = "=1.7.0" }
|
||||
solana-program = { path = "../sdk/program", version = "=1.7.0" }
|
||||
fast-math = "0.1"
|
||||
|
||||
[dev-dependencies]
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
use solana_sdk::hash::{hashv, Hash};
|
||||
use solana_program::hash::{hashv, Hash};
|
||||
|
||||
// We need to discern between leaf and intermediate nodes to prevent trivial second
|
||||
// pre-image attacks.
|
||||
|
|
Loading…
Reference in New Issue