Backchange not counted in balance after tx
While sending a confirmation with a backchange_pubkey different from the issuer_pubkey, the transaction_confirmation display does not substract backchange from the pubkey's balance after tx.
example : this confirmation
bin/silkaj -p ts.gt.librelois.fr tx --output 5B8iMAzq1dNmFe3ZxFTBQkqhq4fsztg1gZvxHXCk1XYH --amount 1 --outputBackChange d88fPFbDdJXJANHH7hedFMaRyGcnVZj9c5cDaE76LRN --comment test
Please enter your Scrypt Salt (Secret identifier):
Please enter your Scrypt password (masked):
╒════════════════════════════════╤══════════════════════════════════════════════╕
│ pubkey’s balance before tx │ 1870.02 ĞTest │
├────────────────────────────────┼──────────────────────────────────────────────┤
│ total amount (unit | relative) │ 1.0 ĞTest || 0.0006 UD │
├────────────────────────────────┼──────────────────────────────────────────────┤
│ pubkey’s balance after tx │ 1869.02 ĞTest │
├────────────────────────────────┼──────────────────────────────────────────────┤
│ from (pubkey) │ 3i7jBZz1bYVTtao3C6e7cN21JHYjHCDR9pKeReE4rdVe │
├────────────────────────────────┼──────────────────────────────────────────────┤
│ to (pubkey) │ 5B8iMAzq1dNmFe3ZxFTBQkqhq4fsztg1gZvxHXCk1XYH │
├────────────────────────────────┼──────────────────────────────────────────────┤
│ to (id) │ moul-test │
├────────────────────────────────┼──────────────────────────────────────────────┤
│ amount (unit | relative) │ 1.0 ĞTest || 0.0006 UD │
├────────────────────────────────┼──────────────────────────────────────────────┤
│ Backchange (pubkey) │ d88fPFbDdJXJANHH7hedFMaRyGcnVZj9c5cDaE76LRN │
├────────────────────────────────┼──────────────────────────────────────────────┤
│ Backchange (id) │ matograine-G1Test │
├────────────────────────────────┼──────────────────────────────────────────────┤
│ comment │ test │
╘════════════════════════════════╧══════════════════════════════════════════════╛
Do you confirm sending this transaction? [yes/no]: yes
Generate Transaction:
- From: 3i7jBZz1bYVTtao3C6e7cN21JHYjHCDR9pKeReE4rdVe
- To: 5B8iMAzq1dNmFe3ZxFTBQkqhq4fsztg1gZvxHXCk1XYH
- Amount: 1.0
Transaction successfully sent.
is for tx in block 436258 (or a bit after) where tx = 1 and Backchange = 771.
We should have :
├────────────────────────────────┼──────────────────────────────────────────────┤
│ pubkey’s balance after tx │ 1098.02 ĞTest │
├────────────────────────────────┼──────────────────────────────────────────────┤