mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-04-29 14:59:39 -04:00
Avoid Appveyor compilation failure
This commit is contained in:
parent
a653aacbd6
commit
2a57108051
1 changed files with 2 additions and 1 deletions
|
@ -387,7 +387,8 @@ static RPCHelpMan setmocktime()
|
|||
}
|
||||
SetMockTime(time);
|
||||
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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue