mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
The --rpc_port command-line option is effectively ignored. We construct an `Endpoint` with the given port, but then drop it on the floor. (Perhaps the author thought the `Endpoint::at_port` method is a mutation instead of a transformation.) This small change adds the missing assignment to hold on to the new endpoint. Fixes #2764