core: make IsLowPriority work with pre-calculated fee

Don't recalculate it again and again.
This commit is contained in:
Roman Khimov 2020-02-18 18:42:11 +03:00
parent 37c48b00b4
commit 06daeb44f3
6 changed files with 8 additions and 8 deletions

View file

@ -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
}