mirror of
https://github.com/monero-project/monero.git
synced 2024-12-23 20:19:34 +00:00
blockchain: use the version passed as parameter, not a new one
This commit is contained in:
parent
94a375d559
commit
634d359a84
1 changed files with 1 additions and 1 deletions
|
@ -1199,7 +1199,7 @@ bool Blockchain::validate_miner_transaction(const block& b, size_t cumulative_bl
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
// From hard fork 2, we allow a miner to claim less block reward than is allowed, in case a miner wants less dust
|
// From hard fork 2, we allow a miner to claim less block reward than is allowed, in case a miner wants less dust
|
||||||
if (m_hardfork->get_current_version() < 2)
|
if (version < 2)
|
||||||
{
|
{
|
||||||
if(base_reward + fee != money_in_use)
|
if(base_reward + fee != money_in_use)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue