mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-20 07:09:15 +01:00
Avoid Appveyor compilation failure
This commit is contained in:
@@ -387,7 +387,8 @@ static RPCHelpMan setmocktime()
|
|||||||
}
|
}
|
||||||
SetMockTime(time);
|
SetMockTime(time);
|
||||||
if (request.context.Has<NodeContext>()) {
|
if (request.context.Has<NodeContext>()) {
|
||||||
for (const auto& chain_client : request.context.Get<NodeContext>().chain_clients) {
|
const auto& chain_clients = request.context.Get<NodeContext>().chain_clients;
|
||||||
|
for (const auto& chain_client : chain_clients) {
|
||||||
chain_client->setMockTime(time);
|
chain_client->setMockTime(time);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user