| 280 | } |
| 281 | |
| 282 | void ScriptOutputData<blocksci::AddressType::Enum::MULTISIG>::addAddress(const ranges::subrange<const unsigned char *> &vch1) { |
| 283 | blocksci::RawPubkey pubkey; |
| 284 | pubkey.fill(0); |
| 285 | std::copy(vch1.begin(), vch1.end(), pubkey.begin()); |
| 286 | addresses.emplace_back(pubkey); |
| 287 | addressCount++; |
| 288 | } |
| 289 | |
| 290 | blocksci::ArbitraryLengthData<blocksci::MultisigData> ScriptOutputData<blocksci::AddressType::Enum::MULTISIG>::getData(uint32_t txNum, bool topLevel) const { |
| 291 | blocksci::MultisigData multisigData{txNum, numRequired, numTotal, addressCount}; |
no test coverage detected