Skip to content

Commit

Permalink
fix: remove double import for chainsync (#188)
Browse files Browse the repository at this point in the history
  • Loading branch information
agaffney authored Apr 13, 2024
1 parent 6986d2c commit 28ec09d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions input/chainsync/chainsync.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ import (
ouroboros "github.com/blinklabs-io/gouroboros"
"github.com/blinklabs-io/gouroboros/ledger"
"github.com/blinklabs-io/gouroboros/protocol/blockfetch"
"github.com/blinklabs-io/gouroboros/protocol/chainsync"
ochainsync "github.com/blinklabs-io/gouroboros/protocol/chainsync"
ocommon "github.com/blinklabs-io/gouroboros/protocol/common"
)
Expand Down Expand Up @@ -254,7 +253,7 @@ func (c *ChainSync) setupConnection() error {
}

func (c *ChainSync) handleRollBackward(
ctx chainsync.CallbackContext,
ctx ochainsync.CallbackContext,
point ocommon.Point,
tip ochainsync.Tip,
) error {
Expand All @@ -269,7 +268,7 @@ func (c *ChainSync) handleRollBackward(
}

func (c *ChainSync) handleRollForward(
ctx chainsync.CallbackContext,
ctx ochainsync.CallbackContext,
blockType uint,
blockData interface{},
tip ochainsync.Tip,
Expand Down

0 comments on commit 28ec09d

Please sign in to comment.