| 50 | } |
| 51 | |
| 52 | PreparedBlock::PreparedBlock(BinaryArray &&ba, const Currency ¤cy, crypto::CryptoNightContext *context) |
| 53 | : block_data(std::move(ba)) { |
| 54 | seria::from_binary(raw_block, block_data); |
| 55 | prepare(currency, context); |
| 56 | } |
| 57 | |
| 58 | PreparedBlock::PreparedBlock(RawBlock &&rba, const Currency ¤cy, crypto::CryptoNightContext *context) |
| 59 | : raw_block(rba) { |
nothing calls this directly
no test coverage detected