mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-12-13 22:36:16 +01:00
This refactor aims to house the CalculateFeeRate function in a more "shareable" location. It used to be a non-exported function inside of rpcserver.go. However, other routines, such as FundPsbt inside of walletkit_server.go, could also rely on the same fee calculation functionality. So we move the function to rpc_utils.go and export it, and we will reuse it in the FundPsbt workflow in a future PR.
7.5 KiB
7.5 KiB