mirror of
https://github.com/monero-project/monero.git
synced 2024-12-15 04:46:31 +02:00
unit_tests: remove leftover debug traces in hardfork test
This commit is contained in:
parent
14dd279fe1
commit
55178aed8c
@ -116,11 +116,9 @@ public:
|
|||||||
return starting_height[version];
|
return starting_height[version];
|
||||||
}
|
}
|
||||||
virtual void set_hard_fork_version(uint64_t height, uint8_t version) {
|
virtual void set_hard_fork_version(uint64_t height, uint8_t version) {
|
||||||
printf("set_hard_fork_version(%lu, %u)\n", (unsigned long)height, version);
|
|
||||||
if (versions.size() <= height) versions.resize(height+1); versions[height] = version;
|
if (versions.size() <= height) versions.resize(height+1); versions[height] = version;
|
||||||
}
|
}
|
||||||
virtual uint8_t get_hard_fork_version(uint64_t height) const {
|
virtual uint8_t get_hard_fork_version(uint64_t height) const {
|
||||||
printf("get_hard_fork_version(%lu)\n", (unsigned long)height);
|
|
||||||
return versions[height];
|
return versions[height];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user