Skip to content

Commit

Permalink
pr comments
Browse files Browse the repository at this point in the history
  • Loading branch information
otherview committed Sep 13, 2023
1 parent 520708b commit 0148f61
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tools/walletextension/storage/storage_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ var tests = map[string]func(storage Storage, t *testing.T){
"testGetAllUsers": testGetAllUsers,
}

func TestSQLLiteGatewayDB(t *testing.T) {
func TestSQLiteGatewayDB(t *testing.T) {
for name, test := range tests {
t.Run(name, func(t *testing.T) {
storage, err := New("")
Expand Down
4 changes: 3 additions & 1 deletion tools/walletextension/wallet_extension.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ import (
"fmt"
"math/big"

"github.com/obscuronet/go-obscuro/go/common/log"

"github.com/obscuronet/go-obscuro/tools/walletextension/useraccountmanager"

"github.com/ethereum/go-ethereum/crypto"
Expand Down Expand Up @@ -369,7 +371,7 @@ func (w *WalletExtension) getStorageAtInterceptor(request *accountmanager.RPCReq

_, err = w.storage.GetUserPrivateKey(userID)
if err != nil {
w.logger.Info("Trying to get userID, but it is not present in our database: ")
w.logger.Info("Trying to get userID, but it is not present in our database: ", log.ErrKey, err)
return nil
}
response := map[string]interface{}{}
Expand Down

0 comments on commit 0148f61

Please sign in to comment.