[lbry] fee: update getinfo.paytxfee to 0
This is a hack fix to unblock lbrypool.net. The paytxfee in lbcwallet is actually not being used anywhere, and is hardcoded to DefaultRelayFee, which is 1000. Lbrycrd sets default to 0. Also, since the paytxfee is not actually used/implemented, the 'settxfee' RPC is also
This commit is contained in:
parent
ce9b4eb809
commit
444fc83aad
1 changed files with 1 additions and 1 deletions
|
@ -649,7 +649,7 @@ func getInfo(icmd interface{}, w *wallet.Wallet, chainClient *chain.RPCClient) (
|
||||||
info.WalletVersion = int32(waddrmgr.LatestMgrVersion)
|
info.WalletVersion = int32(waddrmgr.LatestMgrVersion)
|
||||||
info.Balance = bal.ToBTC()
|
info.Balance = bal.ToBTC()
|
||||||
info.Staked = staked.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
|
// We don't set the following since they don't make much sense in the
|
||||||
// wallet architecture:
|
// wallet architecture:
|
||||||
// - unlocked_until
|
// - unlocked_until
|
||||||
|
|
Loading…
Reference in a new issue