forked from lthn/blockchain
temporary fix for ZC outs validation in validate_alt_block_input()
This commit is contained in:
parent
e40d9df2ec
commit
c6488622eb
1 changed files with 1 additions and 1 deletions
|
|
@ -7432,7 +7432,7 @@ bool blockchain_storage::validate_alt_block_input(const transaction& input_tx,
|
|||
if (!alt_chain.empty())
|
||||
{
|
||||
auto abg_it = alt_chain.back()->second.gindex_lookup_table.find(input_amount);
|
||||
if (abg_it != alt_chain.back()->second.gindex_lookup_table.end())
|
||||
if (input_amount != 0 /* <-- TODO @#@# remove this condition after ZC outs support is implemented*/ && abg_it != alt_chain.back()->second.gindex_lookup_table.end())
|
||||
{
|
||||
amount_touched_altchain = true;
|
||||
// local gindex lookup table contains last used gindex, so we can't get total number of outs
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue