Merge pull request #5497

a59c2746 unit_tests: fix crash in debug in output_distribution test (moneromooo-monero)
This commit is contained in:
Riccardo Spagni 2019-05-02 11:30:51 +02:00
commit 2bf855e3cd
No known key found for this signature in database
GPG Key ID: 55432DF31CCD4FCD

View File

@ -62,6 +62,13 @@ public:
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;
};