Skip to content

Commit

Permalink
chainntnfs: Fix detection for no txindex error
Browse files Browse the repository at this point in the history
This was changed at some point in dcrd, so it need to be fixed here.
  • Loading branch information
matheusd committed Jun 3, 2024
1 parent ac961c5 commit 4ca7b52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chainntnfs/interface.go
Original file line number Diff line number Diff line change
Expand Up @@ -654,7 +654,7 @@ func IsTxIndexDisabledError(err error) bool {
return false
}

errNoTxIndexMsg := "The transaction index must be enabled"
errNoTxIndexMsg := "the transaction index must be enabled"
return strings.Contains(err.Error(), errNoTxIndexMsg)
}

Expand Down

0 comments on commit 4ca7b52

Please sign in to comment.