Skip to content

Commit 28ec09d

Browse files
authored
fix: remove double import for chainsync (#188)
1 parent 6986d2c commit 28ec09d

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

input/chainsync/chainsync.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ import (
2525
ouroboros "github.com/blinklabs-io/gouroboros"
2626
"github.com/blinklabs-io/gouroboros/ledger"
2727
"github.com/blinklabs-io/gouroboros/protocol/blockfetch"
28-
"github.com/blinklabs-io/gouroboros/protocol/chainsync"
2928
ochainsync "github.com/blinklabs-io/gouroboros/protocol/chainsync"
3029
ocommon "github.com/blinklabs-io/gouroboros/protocol/common"
3130
)
@@ -254,7 +253,7 @@ func (c *ChainSync) setupConnection() error {
254253
}
255254

256255
func (c *ChainSync) handleRollBackward(
257-
ctx chainsync.CallbackContext,
256+
ctx ochainsync.CallbackContext,
258257
point ocommon.Point,
259258
tip ochainsync.Tip,
260259
) error {
@@ -269,7 +268,7 @@ func (c *ChainSync) handleRollBackward(
269268
}
270269

271270
func (c *ChainSync) handleRollForward(
272-
ctx chainsync.CallbackContext,
271+
ctx ochainsync.CallbackContext,
273272
blockType uint,
274273
blockData interface{},
275274
tip ochainsync.Tip,

0 commit comments

Comments
 (0)