mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
unit_tests: fix crash in debug in output_distribution test
updating the block size limit needs recent block sizes, so we feed it dummy ones
This commit is contained in:
parent
581994b61c
commit
a59c27465b
1 changed files with 7 additions and 0 deletions
|
@ -62,6 +62,13 @@ public:
|
||||||
return d;
|
return d;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::vector<uint64_t> get_block_weights(uint64_t start_offset, size_t count) const override
|
||||||
|
{
|
||||||
|
std::vector<uint64_t> weights;
|
||||||
|
while (count--) weights.push_back(1);
|
||||||
|
return weights;
|
||||||
|
}
|
||||||
|
|
||||||
uint64_t blockchain_height;
|
uint64_t blockchain_height;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue