Use weak_fn for getLedger
Use weak_fn for peerTXData