From 4ca7b520118e856042103404318c0c3cde2ff6b5 Mon Sep 17 00:00:00 2001 From: Matheus Degiovani Date: Mon, 3 Jun 2024 08:41:25 -0300 Subject: [PATCH] chainntnfs: Fix detection for no txindex error This was changed at some point in dcrd, so it need to be fixed here. --- chainntnfs/interface.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chainntnfs/interface.go b/chainntnfs/interface.go index 29e74bcb81..eb1303493f 100644 --- a/chainntnfs/interface.go +++ b/chainntnfs/interface.go @@ -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) }