diff --git a/tools/walletextension/storage/storage_test.go b/tools/walletextension/storage/storage_test.go index 63d27846f8..fcab6985e4 100644 --- a/tools/walletextension/storage/storage_test.go +++ b/tools/walletextension/storage/storage_test.go @@ -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("") diff --git a/tools/walletextension/wallet_extension.go b/tools/walletextension/wallet_extension.go index 90285d70c8..0909a40741 100644 --- a/tools/walletextension/wallet_extension.go +++ b/tools/walletextension/wallet_extension.go @@ -6,6 +6,7 @@ import ( "encoding/hex" "errors" "fmt" + "github.com/obscuronet/go-obscuro/go/common/log" "math/big" "github.com/obscuronet/go-obscuro/tools/walletextension/useraccountmanager" @@ -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{}{}