merkle-tree: Get Hash
et. al from program instead of sdk
This commit is contained in:
committed by
Trent Nelson
parent
a1d9b53cd7
commit
ddc0a16cec
@ -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.
|
||||
|
Reference in New Issue
Block a user