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
pull/200/head
moneromooo-monero 5 years ago
parent 581994b61c
commit a59c27465b
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3

@ -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;
};

Loading…
Cancel
Save