tests: add unit tests for get_output_distribution

This commit is contained in:
moneromooo-monero 2018-11-06 14:23:26 +00:00
parent 0936dae8a4
commit 31d80027b5
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3
9 changed files with 331 additions and 92 deletions

View file

@ -1805,6 +1805,7 @@ bool Blockchain::get_output_distribution(uint64_t amount, uint64_t from_height,
case STAGENET: start_height = stagenet_hard_forks[3].height; break;
case TESTNET: start_height = testnet_hard_forks[3].height; break;
case MAINNET: start_height = mainnet_hard_forks[3].height; break;
case FAKECHAIN: start_height = 0; break;
default: return false;
}
}