@@ -382,7 +382,7 @@ impl Command for SendCommand {
|
|||||||
h.push("Usage:");
|
h.push("Usage:");
|
||||||
h.push("send <address> <amount in puposhis> \"optional_memo\"");
|
h.push("send <address> <amount in puposhis> \"optional_memo\"");
|
||||||
h.push("OR");
|
h.push("OR");
|
||||||
h.push("send '[{'address': <address>, 'amount': <amount in zatoshis>, 'memo': <optional memo>}, ...]'");
|
h.push("send '[{'address': <address>, 'amount': <amount in puposhis>, 'memo': <optional memo>}, ...]'");
|
||||||
h.push("");
|
h.push("");
|
||||||
h.push("Example:");
|
h.push("Example:");
|
||||||
h.push("send ztestsapling1x65nq4dgp0qfywgxcwk9n0fvm4fysmapgr2q00p85ju252h6l7mmxu2jg9cqqhtvzd69jwhgv8d 200000 \"Hello from the command line\"");
|
h.push("send ztestsapling1x65nq4dgp0qfywgxcwk9n0fvm4fysmapgr2q00p85ju252h6l7mmxu2jg9cqqhtvzd69jwhgv8d 200000 \"Hello from the command line\"");
|
||||||
|
|||||||
@@ -153,7 +153,7 @@ impl LightWallet {
|
|||||||
let extsk: ExtendedSpendingKey = ExtendedSpendingKey::from_path(
|
let extsk: ExtendedSpendingKey = ExtendedSpendingKey::from_path(
|
||||||
&ExtendedSpendingKey::master(bip39_seed),
|
&ExtendedSpendingKey::master(bip39_seed),
|
||||||
&[
|
&[
|
||||||
ChildIndex::Hardened(31),
|
ChildIndex::Hardened(32),
|
||||||
ChildIndex::Hardened(config.get_coin_type()),
|
ChildIndex::Hardened(config.get_coin_type()),
|
||||||
ChildIndex::Hardened(pos)
|
ChildIndex::Hardened(pos)
|
||||||
],
|
],
|
||||||
@@ -1343,7 +1343,7 @@ impl LightWallet {
|
|||||||
|
|
||||||
let total_value = tos.iter().map(|to| to.1).sum::<u64>();
|
let total_value = tos.iter().map(|to| to.1).sum::<u64>();
|
||||||
println!(
|
println!(
|
||||||
"0: Creating transaction sending {} ztoshis to {} addresses",
|
"0: Creating transaction sending {} puposhis to {} addresses",
|
||||||
total_value, tos.len()
|
total_value, tos.len()
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user