diff options
| author | Nicholas Rodrigues Lordello <[email protected]> | 2021-03-18 08:42:35 +0100 |
|---|---|---|
| committer | Nicholas Rodrigues Lordello <[email protected]> | 2021-03-18 08:42:35 +0100 |
| commit | 1ce0c196c10dc92977114279180ea714056c587d (patch) | |
| tree | b726917e32f285bf4a63892cbd932e5b5dbb71f9 /src/hdk.rs | |
| parent | 0bb365d3e0ec9663e8f011b31c3d4c52d168ab6f (diff) | |
add transaction tests and bump version
Diffstat (limited to 'src/hdk.rs')
| -rw-r--r-- | src/hdk.rs | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -70,14 +70,12 @@ where #[cfg(test)] mod tests { use super::*; - use crate::{account::Address, mnemonic::Mnemonic}; + use crate::{account::Address, ganache::DETERMINISTIC_MNEMONIC, mnemonic::Mnemonic}; use hex_literal::hex; #[test] fn ganache_deterministic_mnemonic() { - const GANACHE_DETERMINISTIC_MNEMONIC: &str = "myth like bonus scare over problem \ - client lizard pioneer submit female collect"; - let mnemonic = GANACHE_DETERMINISTIC_MNEMONIC.parse::<Mnemonic>().unwrap(); + let mnemonic = DETERMINISTIC_MNEMONIC.parse::<Mnemonic>().unwrap(); let path = "m/44'/60'/0'/0/0".parse::<Path>().unwrap(); let account = derive(mnemonic.seed(""), &path).unwrap(); |
