Skip to content

Commit 257cf28

Browse files
temp!
Signed-off-by: Alexandros Filios <alexandros.filios@ibm.com>
1 parent 2ad0d81 commit 257cf28

File tree

1 file changed

+1
-1
lines changed
  • platform/fabric/services/state/vault

1 file changed

+1
-1
lines changed

platform/fabric/services/state/vault/vault.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ func (f *vault) GetState(namespace driver.Namespace, id driver.PKey, state inter
6464
if err != nil {
6565
return err
6666
}
67-
if len(value.Raw) == 0 {
67+
if value == nil || len(value.Raw) == 0 {
6868
return errors.Errorf("id [%s] not found", id)
6969
}
7070

0 commit comments

Comments
 (0)