mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-20 13:37:28 +02:00
rpc: Remove index-based Arg accessor
This commit is contained in:
parent
42d5a1ff25
commit
fa3169b073
7 changed files with 28 additions and 58 deletions
|
|
@ -401,7 +401,7 @@ static RPCHelpMan addconnection()
|
|||
} else {
|
||||
throw JSONRPCError(RPC_INVALID_PARAMETER, self.ToString());
|
||||
}
|
||||
bool use_v2transport = self.Arg<bool>(2);
|
||||
bool use_v2transport{self.Arg<bool>("v2transport")};
|
||||
|
||||
NodeContext& node = EnsureAnyNodeContext(request.context);
|
||||
CConnman& connman = EnsureConnman(node);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue