(pubkeys []keypair.PublicKey, m int)
| 121 | } |
| 122 | |
| 123 | func ProgramFromMultiPubKey(pubkeys []keypair.PublicKey, m int) ([]byte, error) { |
| 124 | sink := common.ZeroCopySink{} |
| 125 | err := EncodeMultiPubKeyProgramInto(&sink, pubkeys, m) |
| 126 | return sink.Bytes(), err |
| 127 | } |
| 128 | |
| 129 | func ProgramFromParams(sigs [][]byte) []byte { |
| 130 | builder := NewProgramBuilder() |