mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-18 13:17:55 +02:00
Merge 5d6f6fd00d into merged_master (Bitcoin PR bitcoin/bitcoin#31490)
This commit is contained in:
commit
bde05e1016
21 changed files with 181 additions and 206 deletions
|
|
@ -325,7 +325,7 @@ static bool rest_block(const std::any& context,
|
|||
}
|
||||
|
||||
std::vector<uint8_t> block_data{};
|
||||
if (!chainman.m_blockman.ReadRawBlockFromDisk(block_data, pos)) {
|
||||
if (!chainman.m_blockman.ReadRawBlock(block_data, pos)) {
|
||||
return RESTERR(req, HTTP_NOT_FOUND, hashStr + " not found");
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue