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 53be3bd
Show file tree
Hide file tree
Showing 2 changed files with 3 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
3 changes: 2 additions & 1 deletion tools/walletextension/wallet_extension.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import (
"encoding/hex"
"errors"
"fmt"

Check failure on line 8 in tools/walletextension/wallet_extension.go

View workflow job for this annotation

GitHub Actions / lint

File is not `gofumpt`-ed (gofumpt)
"github.com/obscuronet/go-obscuro/go/common/log"

Check failure on line 9 in tools/walletextension/wallet_extension.go

View workflow job for this annotation

GitHub Actions / lint

File is not `goimports`-ed (goimports)
"math/big"

Check failure on line 10 in tools/walletextension/wallet_extension.go

View workflow job for this annotation

GitHub Actions / lint

File is not `gofumpt`-ed (gofumpt)

"github.com/obscuronet/go-obscuro/tools/walletextension/useraccountmanager"
Expand Down Expand Up @@ -369,7 +370,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 53be3bd

Please sign in to comment.