Send and receive channels

This commit is contained in:
Aditya Kulkarni
2019-09-15 15:38:02 -07:00
committed by adityapk00
parent 84f21dcd5b
commit 194c6b2780
3 changed files with 43 additions and 19 deletions

View File

@@ -566,7 +566,7 @@ impl LightWallet {
(extsk, extfvk, address)
}
pub fn new(seed_phrase: Option<&str>) -> io::Result<Self> {
pub fn new(seed_phrase: Option<String>) -> io::Result<Self> {
use rand::{FromEntropy, ChaChaRng, Rng};
let mut seed_bytes = [0u8; 32];