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

Function Test00Multisig

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

Source from the content-addressed store, hash-verified

40}
41
42func Test00Multisig(t *testing.T) {
43 prog, err := BlockMultiSigProgram(nil, 0)
44 if err != nil {
45 t.Fatal(err)
46 }
47 if len(prog) < 1 {
48 t.Fatal("BlockMultiSigScript(0, 0) = {} want script")
49 }
50}
51
52func Test01Multisig(t *testing.T) {
53 pubkeys := []ed25519.PublicKey{{}}

Callers

nothing calls this directly

Calls 1

BlockMultiSigProgramFunction · 0.85

Tested by

no test coverage detected