Skip to content

Contract is missing from IsValid() and bytes() in delegate #41

@wyuinche

Description

@wyuinche

Expected Behavior

contract account must be validated in delegate-item.

Actual Behavior

No validation for contract in IsValid(byte[]).
No byte slice of contract in Bytes().

func (it DelegateItem) IsValid([]byte) error {

func (it DelegateItem) Bytes() []byte {

Steps to Reproduce the Problem

Omit

Specifications

  • commit; 7cb90dc
  • os; macos ventura
  • go version; go1.19

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions