Fix ledger log warning, closes #298
Get the remote endpoint at accept time and use it