MCPcopy Create free account
hub / github.com/MiloOweno/kernel-lab / TestOneSignatureIsInvalid

Function TestOneSignatureIsInvalid

crypto/multisig_test.go:360–398  ·  view source on GitHub ↗

in this test we want to test what happen if one of the signatures are not valid. we create case where are enoguht valid signatures (that pass the thrashold). but since one is false. everything fails.

(t *testing.T)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 11

PartitionTestFunction · 0.92
RandBytesFunction · 0.85
GenerateSignatureSecretsFunction · 0.85
MultisigAddrGenFunction · 0.85
MultisigSignFunction · 0.85
MultisigAssembleFunction · 0.85
MultisigVerifyFunction · 0.85
MakeBatchVerifierFunction · 0.85
MultisigBatchPrepFunction · 0.85
ErrorMethod · 0.65
VerifyMethod · 0.65

Tested by

no test coverage detected