Skip to content

Commit

Permalink
fix: followTip api call (#259)
Browse files Browse the repository at this point in the history
Signed-off-by: Ales Verbic <[email protected]>
  • Loading branch information
verbotenj authored Sep 29, 2024
1 parent b82e8ed commit eb485b9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions internal/utxorpc/sync.go
Original file line number Diff line number Diff line change
Expand Up @@ -191,9 +191,8 @@ func (s *chainSyncServiceServer) FollowTip(
blockIdx := blockRef.GetIndex()
blockHash := blockRef.GetHash()
log.Printf("BlockRef: idx: %d, hash: %x", blockIdx, blockHash)
hash, _ := hex.DecodeString(string(blockHash))
slot := uint64(blockIdx)
point = ocommon.NewPoint(slot, hash)
point = ocommon.NewPoint(slot, blockHash)
}
} else {
tip, _ := oConn.ChainSync().Client.GetCurrentTip()
Expand Down

0 comments on commit eb485b9

Please sign in to comment.