mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-15 12:51:00 +02:00
Merge d4b5553849 into merged_master (Bitcoin PR bitcoin/bitcoin#30742)
This commit is contained in:
commit
b28b274b1b
9 changed files with 19 additions and 16 deletions
|
|
@ -1119,7 +1119,7 @@ static RPCHelpMan submitheader()
|
|||
}
|
||||
|
||||
BlockValidationState state;
|
||||
chainman.ProcessNewBlockHeaders({h}, /*min_pow_checked=*/true, state);
|
||||
chainman.ProcessNewBlockHeaders({{h}}, /*min_pow_checked=*/true, state);
|
||||
if (state.IsValid()) return UniValue::VNULL;
|
||||
if (state.IsError()) {
|
||||
throw JSONRPCError(RPC_VERIFY_ERROR, state.ToString());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue