mirror of
https://github.com/Qortal/piratewallet-light-cli.git
synced 2025-01-30 18:42:15 +00:00
Add pure t->z txns to tx list (#17)
This commit is contained in:
parent
bec804592a
commit
e8f7eee361
@ -720,7 +720,7 @@ impl LightClient {
|
|||||||
.flat_map(| (_k, v) | {
|
.flat_map(| (_k, v) | {
|
||||||
let mut txns: Vec<JsonValue> = vec![];
|
let mut txns: Vec<JsonValue> = vec![];
|
||||||
|
|
||||||
if v.total_shielded_value_spent > 0 {
|
if v.total_shielded_value_spent + v.total_transparent_value_spent > 0 {
|
||||||
// If money was spent, create a transaction. For this, we'll subtract
|
// If money was spent, create a transaction. For this, we'll subtract
|
||||||
// all the change notes. TODO: Add transparent change here to subtract it also
|
// all the change notes. TODO: Add transparent change here to subtract it also
|
||||||
let total_change: u64 = v.notes.iter()
|
let total_change: u64 = v.notes.iter()
|
||||||
|
Loading…
Reference in New Issue
Block a user