From 2b2567b239275c6d8c01a2d1874a6dbc3d2afae3 Mon Sep 17 00:00:00 2001 From: Cryptoforge Date: Sun, 13 Sep 2020 11:09:48 -0700 Subject: [PATCH] Only add 1 zaddr to a new wallet --- lib/src/lightwallet.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/src/lightwallet.rs b/lib/src/lightwallet.rs index 5984b3e..145a679 100644 --- a/lib/src/lightwallet.rs +++ b/lib/src/lightwallet.rs @@ -243,8 +243,8 @@ impl LightWallet { // If restoring from seed, make sure we are creating 5 addresses for users if seed_phrase.is_some() { - for _i in 0..5 { - lw.add_taddr(); + for _i in 0..1 { + // lw.add_taddr(); lw.add_zaddr(); } }