Skip to content

Commit

Permalink
ticketbuyer: Fix set split tx, ticket fees (decred#478)
Browse files Browse the repository at this point in the history
  • Loading branch information
tuxcanfly authored and alexlyp committed Dec 20, 2016
1 parent 8f633e7 commit 1206cbd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ticketbuyer/buyer.go
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ func (t *TicketPurchaser) Purchase(height int64) (*PurchaseStats, error) {
log.Errorf("Failed to decode tx fee amount %v from config",
t.cfg.TxFee)
} else {
t.wallet.SetTicketFeeIncrement(txFeeAmt)
t.wallet.SetRelayFee(txFeeAmt)
}
}

Expand Down Expand Up @@ -527,7 +527,7 @@ func (t *TicketPurchaser) Purchase(height int64) (*PurchaseStats, error) {
if err != nil {
return ps, err
}
t.wallet.SetRelayFee(feeToUseAmt)
t.wallet.SetTicketFeeIncrement(feeToUseAmt)

log.Debugf("Mean fee for the last blocks or window period was %v; "+
"this was scaled to %v", chainFee, feeToUse)
Expand Down

0 comments on commit 1206cbd

Please sign in to comment.