(txTo)
| 800 | self.assertEqual(multisig_script.GetSigOpCount(fAccurate=True), n) |
| 801 | |
| 802 | def BIP341_sha_prevouts(txTo): |
| 803 | return sha256(b"".join(i.prevout.serialize() for i in txTo.vin)) |
| 804 | |
| 805 | def BIP341_sha_amounts(spent_utxos): |
| 806 | return sha256(b"".join(u.nValue.to_bytes(8, "little", signed=True) for u in spent_utxos)) |
no test coverage detected