core: make IsLowPriority work with pre-calculated fee
Don't recalculate it again and again.
This commit is contained in:
parent
37c48b00b4
commit
06daeb44f3
6 changed files with 8 additions and 8 deletions
|
@ -22,7 +22,7 @@ func (fs *FeerStub) NetworkFee(*transaction.Transaction) util.Fixed8 {
|
|||
return fs.netFee
|
||||
}
|
||||
|
||||
func (fs *FeerStub) IsLowPriority(*transaction.Transaction) bool {
|
||||
func (fs *FeerStub) IsLowPriority(util.Fixed8) bool {
|
||||
return fs.lowPriority
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue