mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-18 13:17:55 +02:00
Merge 723f1c669f into merged_master (Bitcoin PR bitcoin/bitcoin#28218)
This commit is contained in:
commit
f95cdcb6d6
14 changed files with 80 additions and 67 deletions
|
|
@ -728,7 +728,7 @@ static RPCHelpMan getblocktemplate()
|
|||
throw JSONRPCError(RPC_CLIENT_NOT_CONNECTED, PACKAGE_NAME " is not connected!");
|
||||
}
|
||||
|
||||
if (active_chainstate.IsInitialBlockDownload()) {
|
||||
if (chainman.IsInitialBlockDownload()) {
|
||||
throw JSONRPCError(RPC_CLIENT_IN_INITIAL_DOWNLOAD, PACKAGE_NAME " is in initial sync and waiting for blocks...");
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue