diff --git a/database/tbcd/level/level.go b/database/tbcd/level/level.go index aa7e23c1..95f62975 100644 --- a/database/tbcd/level/level.go +++ b/database/tbcd/level/level.go @@ -746,7 +746,7 @@ func (l *ldb) BlockByHash(ctx context.Context, hash *chainhash.Hash) (*btcutil.B eb, err := bDB.Get(hash[:]) if err != nil { if errors.Is(err, leveldb.ErrNotFound) { - return nil, database.BlockNotFoundError{*hash} + return nil, database.BlockNotFoundError{Hash: *hash} } return nil, fmt.Errorf("block get: %w", err) }