Skip to content

Commit

Permalink
explicit nil error
Browse files Browse the repository at this point in the history
  • Loading branch information
algoidurovic committed Aug 18, 2022
1 parent 2b3a0ae commit 24ff56e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ledger/acctupdates.go
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ func (au *accountUpdates) lookupKv(rnd basics.Round, key string, synchronized bo
// where persistedData.value == nil to avoid unnecessary db lookups
// for deleted KVs.
au.baseKVs.writePending(persistedData, key)
return persistedData.value, err
return persistedData.value, nil
}

// The db round is unexpected...
Expand Down

0 comments on commit 24ff56e

Please sign in to comment.