mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-05-31 08:13:52 +02:00
[refactor] Define MessageStartChars as std::array
This commit is contained in:
@@ -136,7 +136,7 @@ bool IsSQLiteFile(const fs::path& path)
|
||||
}
|
||||
|
||||
// Check the application id matches our network magic
|
||||
return memcmp(Params().MessageStart(), app_id, 4) == 0;
|
||||
return memcmp(Params().MessageStart().data(), app_id, 4) == 0;
|
||||
}
|
||||
|
||||
void ReadDatabaseArgs(const ArgsManager& args, DatabaseOptions& options)
|
||||
|
||||
Reference in New Issue
Block a user