Skip to content

Commit

Permalink
fix merge
Browse files Browse the repository at this point in the history
  • Loading branch information
tudor-malene committed Apr 2, 2024
1 parent 947afad commit 65cb097
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions go/common/viewingkey/viewing_key.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,6 @@ const (
)

func (vk RPCSignedViewingKey) Validate() error {
// todo - remove this when merging to main
if vk.Account == nil {
return fmt.Errorf("invalid account in viewing key")
}
if len(vk.PublicKey) != pubKeyLen {
return fmt.Errorf("invalid viewing key")
}
Expand Down

0 comments on commit 65cb097

Please sign in to comment.