1
0
Fork 0
forked from lthn/blockchain

Get rid of the compiler warning "not all control paths return a value" (#472)

This commit is contained in:
Stёpa Dolgorukov 2024-10-22 17:34:19 +05:00 committed by GitHub
parent 1968608018
commit fbf0d413a8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2076,6 +2076,8 @@ bool tx_pool_semantic_validation::generate(std::vector<test_event_entry>& events
{
return sum + boost::get<txin_multisig>(input).amount;
}
return sum;
}
};
@ -2085,6 +2087,8 @@ bool tx_pool_semantic_validation::generate(std::vector<test_event_entry>& events
{
return sum + boost::get<tx_out_bare>(output).amount;
}
return sum;
}
};