use get_hard_fork_version

pull/3/head
moneroexamples 5 years ago
parent f344e183f0
commit 9562666a59

@ -174,9 +174,9 @@ MicroCore::get_tx_block_height(crypto::hash const& tx_hash) const
}
uint64_t
MicroCore::get_current_hard_fork_version() const
MicroCore::get_hard_fork_version(uint64_t height) const
{
return core_storage.get_current_hard_fork_version();
return core_storage.get_hard_fork_version(height);
}
std::vector<uint64_t>

@ -146,7 +146,7 @@ public:
get_current_blockchain_height() const;
virtual uint64_t
get_current_hard_fork_version() const;
get_hard_fork_version(uint64_t height) const;
virtual void
get_output_tx_and_index(

Loading…
Cancel
Save