MCPcopy Create free account
hub / github.com/chain/Core / Test01Multisig

Function Test01Multisig

protocol/vmutil/script_test.go:52–58  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

50}
51
52func Test01Multisig(t *testing.T) {
53 pubkeys := []ed25519.PublicKey{{}}
54 _, err := BlockMultiSigProgram(pubkeys, 0)
55 if err == nil {
56 t.Fatal("BlockMultiSigScript(1, 0) = success want error")
57 }
58}
59
60func TestParse00Multisig(t *testing.T) {
61 prog, err := BlockMultiSigProgram(nil, 0)

Callers

nothing calls this directly

Calls 1

BlockMultiSigProgramFunction · 0.85

Tested by

no test coverage detected