Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
zkokelj committed Oct 25, 2023
1 parent 6d7c265 commit f23b9b8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 2 additions & 1 deletion tools/walletextension/accountmanager/account_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@ import (
"encoding/json"
"errors"
"fmt"
"strings"

"github.com/ethereum/go-ethereum/eth/filters"
"github.com/obscuronet/go-obscuro/tools/walletextension/subscriptions"
"strings"

"github.com/obscuronet/go-obscuro/go/common/gethencoding"

Expand Down
2 changes: 0 additions & 2 deletions tools/walletextension/subscriptions/subscriptions.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ func (sm *SubscriptionManager) HandleNewSubscriptions(clients []rpc.Client, req
// TODO (@ziga): Currently we use the same value for node and user subscriptionID - this will change after
// subscribing with multiple accounts
sm.UpdateSubscriptionMapping(currentNodeSubscriptionID, currentNodeSubscriptionID)

}

// We periodically check if the websocket is closed, and terminate the subscription.
Expand Down Expand Up @@ -96,7 +95,6 @@ func readFromChannelAndWriteToUserConn(channel chan common.IDAndLog, userConn us
logger.Error("could not write the JSON log to the websocket on subscription %", log.SubIDKey, data.SubID, log.ErrKey, err)
continue
}

}
}
}
Expand Down

0 comments on commit f23b9b8

Please sign in to comment.