MCPcopy Create free account
hub / github.com/DNAProject/DNA / PushPubKey

Method PushPubKey

core/program/program.go:45–48  ·  view source on GitHub ↗
(pubkey keypair.PublicKey)

Source from the content-addressed store, hash-verified

43}
44
45func (self *ProgramBuilder) PushPubKey(pubkey keypair.PublicKey) *ProgramBuilder {
46 buf := keypair.SerializePublicKey(pubkey)
47 return self.PushBytes(buf)
48}
49
50func (self *ProgramBuilder) PushNum(num uint16) *ProgramBuilder {
51 if num == 0 {

Callers 1

Calls 1

PushBytesMethod · 0.95

Tested by

no test coverage detected