Skip to content

Commit 2ab3533

Browse files
authored
Update hdpayload.rs (#153)
- Fix chain-wallet-libs tests after bip39 removal
2 parents cd100a1 + c7c5847 commit 2ab3533

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/chain-wallet-libs/hdkeygen/src/rindex/hdpayload.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,9 +191,10 @@ impl HdKey {
191191
#[cfg(test)]
192192
mod tests {
193193
use super::*;
194-
use bip39::SEED_SIZE;
195194
use ed25519_bip32::XPrv;
196195

196+
const SEED_SIZE: usize = 64;
197+
197198
fn generate_from_daedalus_seed(bytes: &[u8]) -> XPrv {
198199
use cryptoxide::mac::Mac;
199200

0 commit comments

Comments
 (0)