rpc: gettxoutsetinfo can specify hash_type (only legacy option for now)

This commit is contained in:
Fabian Jahr
2020-06-02 23:52:34 +02:00
parent 605884ef21
commit a712cf6f68
6 changed files with 69 additions and 15 deletions

View File

@@ -278,7 +278,7 @@ void test_one_input(const std::vector<uint8_t>& buffer)
CCoinsStats stats;
bool expected_code_path = false;
try {
(void)GetUTXOStats(&coins_view_cache, stats);
(void)GetUTXOStats(&coins_view_cache, stats, CoinStatsHashType::HASH_SERIALIZED);
} catch (const std::logic_error&) {
expected_code_path = true;
}