From 65cb097fda80e2d428c2c5e974530affca1c2aee Mon Sep 17 00:00:00 2001 From: Tudor Malene Date: Tue, 2 Apr 2024 11:06:06 +0100 Subject: [PATCH] fix merge --- go/common/viewingkey/viewing_key.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/go/common/viewingkey/viewing_key.go b/go/common/viewingkey/viewing_key.go index 34c41d4560..d555c5c750 100644 --- a/go/common/viewingkey/viewing_key.go +++ b/go/common/viewingkey/viewing_key.go @@ -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") }