diff --git a/ethereum/path_accounts.go b/ethereum/path_accounts.go index 2ff3a562..809852cb 100644 --- a/ethereum/path_accounts.go +++ b/ethereum/path_accounts.go @@ -235,7 +235,6 @@ func (b *backend) pathAccountBalanceRead(ctx context.Context, req *logical.Reque } func (b *backend) pathAccountsCreate(ctx context.Context, req *logical.Request, data *framework.FieldData) (*logical.Response, error) { - b.Logger().Info("pathAccountsCreate") rpc := data.Get("rpc_url").(string) chainID := data.Get("chain_id").(string) whitelist := data.Get("whitelist").([]string) diff --git a/ethereum/util.go b/ethereum/util.go index f68476f0..e5979c98 100644 --- a/ethereum/util.go +++ b/ethereum/util.go @@ -231,10 +231,7 @@ func (b *backend) readAccount(ctx context.Context, req *logical.Request, path st func (b *backend) contains(stringSlice []string, searchString string) bool { for _, value := range stringSlice { - b.Logger().Info("Value", "address", value) - b.Logger().Info("Value", "searchString", searchString) if value == searchString { - b.Logger().Info("Value", "boolean", true) return true } } @@ -261,8 +258,6 @@ func dedup(stringSlice []string) []string { } func (b *backend) isDebitAllowed(account *Account, toAddress string, amount *big.Int) (bool, error) { - b.Logger().Info("Blacklist", "list", account.Blacklist) - b.Logger().Info("Address", "address", toAddress) if b.contains(account.Blacklist, toAddress) { return false, fmt.Errorf("%s is blacklisted", toAddress) }