Skip to content

Commit

Permalink
rebase main fallout
Browse files Browse the repository at this point in the history
  • Loading branch information
marcopeereboom committed Jul 15, 2024
1 parent 3a3125b commit 3c9effa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/hemictl/hemictl.go
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ func tbcdb() error {
return fmt.Errorf("new server: %w", err)
}
// Open db.
err = s.DBOpen(ctx)
err = s.DBOpen(ctx) // XXX kill this and verify all reversed hashes as parameters
if err != nil {
return fmt.Errorf("db open: %w", err)
}
Expand Down Expand Up @@ -460,7 +460,7 @@ func tbcdb() error {
var revTxId [32]byte
copy(revTxId[:], chtxid[:])

bh, err := s.DB().BlocksByTxId(ctx, revTxId)
bh, err := s.DB().BlocksByTxId(ctx, revTxId[:])
if err != nil {
return fmt.Errorf("block by txid: %w", err)
}
Expand Down

0 comments on commit 3c9effa

Please sign in to comment.