Skip to content

Commit

Permalink
(fix) Addressed review comment
Browse files Browse the repository at this point in the history
  • Loading branch information
abel committed Sep 11, 2023
1 parent 5114964 commit fe7fb94
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions client/chain/orderhash.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package chain

import (
"context"
"golang.org/x/exp/maps"
"strconv"

exchangetypes "github.com/InjectiveLabs/sdk-go/chain/exchange/types"
Expand Down Expand Up @@ -59,7 +58,7 @@ var domain = gethsigner.TypedDataDomain{
}

func (c *chainClient) UpdateSubaccountNonceFromChain() error {
for _, subaccountId := range maps.Keys(c.subaccountToNonce) {
for subaccountId := range c.subaccountToNonce {
err := c.SynchronizeSubaccountNonce(subaccountId)
if err != nil {
return err
Expand Down

0 comments on commit fe7fb94

Please sign in to comment.