diff options
author | Pieter Wuille <pieter@wuille.net> | 2023-08-21 18:14:52 -0400 |
---|---|---|
committer | Pieter Wuille <pieter@wuille.net> | 2023-10-02 18:11:11 -0400 |
commit | 4d265d0342ae7e92df07ba51e8355db57c44f811 (patch) | |
tree | bf7a39144549b675da278630417c673c38fac7d6 /src/rpc | |
parent | c73cd423636e06df46742f573640ca773b281ffc (diff) |
sync: modernize CSemaphore / CSemaphoreGrant
Diffstat (limited to 'src/rpc')
-rw-r--r-- | src/rpc/net.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/net.cpp b/src/rpc/net.cpp index a66f74242c..3be91f292c 100644 --- a/src/rpc/net.cpp +++ b/src/rpc/net.cpp @@ -317,7 +317,7 @@ static RPCHelpMan addnode() if (command == "onetry") { CAddress addr; - connman.OpenNetworkConnection(addr, /*fCountFailure=*/false, /*grantOutbound=*/nullptr, node_arg.c_str(), ConnectionType::MANUAL, use_v2transport); + connman.OpenNetworkConnection(addr, /*fCountFailure=*/false, /*grant_outbound=*/{}, node_arg.c_str(), ConnectionType::MANUAL, use_v2transport); return UniValue::VNULL; } |