File tree Expand file tree Collapse file tree 2 files changed +1
-11
lines changed Expand file tree Collapse file tree 2 files changed +1
-11
lines changed Original file line number Diff line number Diff line change @@ -415,16 +415,7 @@ class CDiskBlockIndex : public CBlockIndex
415
415
return block.GetHash ();
416
416
}
417
417
418
-
419
- std::string ToString () const
420
- {
421
- std::string str = " CDiskBlockIndex(" ;
422
- str += CBlockIndex::ToString ();
423
- str += strprintf (" \n hashBlock=%s, hashPrev=%s)" ,
424
- GetBlockHash ().ToString (),
425
- hashPrev.ToString ());
426
- return str;
427
- }
418
+ std::string ToString () = delete;
428
419
};
429
420
430
421
/* * An in-memory indexed chain of blocks. */
Original file line number Diff line number Diff line change @@ -31,7 +31,6 @@ FUZZ_TARGET(chain)
31
31
(void )disk_block_index->GetUndoPos ();
32
32
(void )disk_block_index->HaveTxsDownloaded ();
33
33
(void )disk_block_index->IsValid ();
34
- (void )disk_block_index->ToString ();
35
34
}
36
35
37
36
const CBlockHeader block_header = disk_block_index->GetBlockHeader ();
You can’t perform that action at this time.
0 commit comments