mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2025-05-03 11:41:48 +00:00
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
|
@ -239,6 +239,6 @@ func newTestChain(t *testing.T) *core.Blockchain {
|
|||
type feer struct{}
|
||||
|
||||
func (fs *feer) NetworkFee(*transaction.Transaction) util.Fixed8 { return util.Fixed8(0) }
|
||||
func (fs *feer) IsLowPriority(*transaction.Transaction) bool { return false }
|
||||
func (fs *feer) IsLowPriority(util.Fixed8) bool { return false }
|
||||
func (fs *feer) FeePerByte(*transaction.Transaction) util.Fixed8 { return util.Fixed8(0) }
|
||||
func (fs *feer) SystemFee(*transaction.Transaction) util.Fixed8 { return util.Fixed8(0) }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue