()
| 250 | } |
| 251 | |
| 252 | func (self *programParser) ReadPubKey() (keypair.PublicKey, error) { |
| 253 | buf, err := self.ReadBytes() |
| 254 | if err != nil { |
| 255 | return nil, err |
| 256 | } |
| 257 | |
| 258 | pubkey, err := keypair.DeserializePublicKey(buf) |
| 259 | return pubkey, err |
| 260 | } |
| 261 | |
| 262 | func GetProgramInfo(program []byte) (ProgramInfo, error) { |
| 263 | info := ProgramInfo{} |
no test coverage detected