mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-04-05 05:14:51 +02:00
refactor: Drop unused UCharCast
This is no longer needed after commit
6aa0e70ccb
This commit is contained in:
@@ -603,7 +603,7 @@ void BerkeleyRODatabase::Open()
|
||||
|
||||
// Read subdatabase page number
|
||||
// It is written as a big endian 32 bit number
|
||||
uint32_t main_db_page = ReadBE32(UCharCast(std::get<DataRecord>(page.records.at(1)).data.data()));
|
||||
uint32_t main_db_page = ReadBE32(std::get<DataRecord>(page.records.at(1)).data.data());
|
||||
|
||||
// The main database is in a page that doesn't exist
|
||||
if (main_db_page > outer_meta.last_page) {
|
||||
|
||||
Reference in New Issue
Block a user