Skip to content

Commit 69ac072

Browse files
committed
Disable IPC support to fix build issue
Also fix lint error
1 parent 2aa14d7 commit 69ac072

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ build-kernel:
1818
-DBUILD_BITCOIN_BIN=OFF \
1919
-DBUILD_DAEMON=OFF \
2020
-DBUILD_UTIL_CHAINSTATE=OFF \
21-
-DBUILD_CLI=OFF && \
21+
-DBUILD_CLI=OFF \
22+
-DENABLE_IPC=OFF && \
2223
cmake --build build --target bitcoinkernel -j $(shell nproc 2>/dev/null || echo 4)
2324

2425
build:

kernel/chainstate_manager_test.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,10 @@ func (s *ChainstateManagerTestSuite) Setup(t *testing.T) {
213213
opts.SetBlockTreeDBInMemory(true)
214214
opts.SetChainstateDBInMemory(true)
215215
// Wipe both databases to enable proper initialization
216-
opts.SetWipeDBs(true, true)
216+
err = opts.SetWipeDBs(true, true)
217+
if err != nil {
218+
t.Fatalf("SetWipeDBs() error = %v", err)
219+
}
217220

218221
// Create chainstate manager
219222
manager, err := NewChainstateManager(opts)

0 commit comments

Comments
 (0)