Skip to content

Commit 5ec692f

Browse files
committed
Add ocean_index_block logs
1 parent 3f9fd76 commit 5ec692f

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/dfi/validation.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4600,8 +4600,10 @@ static CrossBoundaryResult OceanIndex(const UniValue b, const uint32_t height) {
46004600
CrossBoundaryResult result;
46014601
ocean_index_block(result, b.write());
46024602
if (!result.ok) {
4603+
LogPrintf("Error indexing block %d : %s\n", height, result.reason);
46034604
ocean_invalidate_block(result, b.write());
46044605
if (!result.ok) {
4606+
LogPrintf("Error invalidating block %d: %s\n", height, result.reason);
46054607
return result;
46064608
}
46074609
OceanIndex(b, height);

0 commit comments

Comments
 (0)