Remove relayFee todo. (#256)

Accepting this as a hard-coded value. It will not be retrieved from RPC or config.
This commit is contained in:
Jamie Holdstock 2021-05-15 03:09:24 +01:00 committed by GitHub
parent ef472ffe5d
commit 08fafdaf31
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 3 deletions

View File

@ -49,7 +49,7 @@ func getCurrentFee(dcrdClient *rpc.DcrdRPC) (dcrutil.Amount, error) {
if err != nil {
return 0, err
}
relayFee, err := dcrutil.NewAmount(relayFee)
relayFee, err := dcrutil.NewAmount(0.0001)
if err != nil {
return 0, err
}

View File

@ -38,8 +38,6 @@ type Config struct {
}
const (
// TODO: Make this configurable or get it from RPC.
relayFee = 0.0001
// requiredConfs is the number of confirmations required to consider a
// ticket purchase or a fee transaction to be final.
requiredConfs = 6