Merge pull request #7 from lbryio/roylee/hardcode-paytxfee-to-zero

[lbry] fee: update getinfo.paytxfee to 0
This commit is contained in:
Roy Lee 2022-06-14 17:06:52 -07:00 committed by GitHub
commit 5d95b1cd9a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -649,7 +649,7 @@ func getInfo(icmd interface{}, w *wallet.Wallet, chainClient *chain.RPCClient) (
info.WalletVersion = int32(waddrmgr.LatestMgrVersion)
info.Balance = bal.ToBTC()
info.Staked = staked.ToBTC()
info.PaytxFee = float64(txrules.DefaultRelayFeePerKb)
info.PaytxFee = 0
// We don't set the following since they don't make much sense in the
// wallet architecture:
// - unlocked_until