Skip to content

Commit

Permalink
cast string
Browse files Browse the repository at this point in the history
  • Loading branch information
mmsqe committed Aug 15, 2024
1 parent 875bf5b commit 1ef65e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/ante/eth.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ func VerifyAndSetAccount(
acc := ak.GetAccount(ctx, from)
defer func() {
if acc != nil {
accounts[from.String()] = acc
accounts[string(from)] = acc
}
}()
if acc != nil {
Expand Down Expand Up @@ -271,7 +271,7 @@ func CheckAndSetEthSenderNonce(

// increase sequence of sender
from := msgEthTx.GetFrom()
acc, ok := accounts[from.String()]
acc, ok := accounts[string(from)]
if !ok {
acc = ak.GetAccount(ctx, from)
}
Expand Down

0 comments on commit 1ef65e2

Please sign in to comment.