forked from TrueCloudLab/frostfs-node
parent
819300f939
commit
244bcc5c04
2 changed files with 1 additions and 2 deletions
|
@ -79,6 +79,5 @@ func (np *Processor) ListenerHandlers() []event.HandlerInfo {
|
|||
|
||||
// TimersHandlers for the 'Timers' event producer.
|
||||
func (np *Processor) TimersHandlers() []event.HandlerInfo {
|
||||
|
||||
return nil
|
||||
}
|
||||
|
|
|
@ -31,7 +31,7 @@ func (t *transferTable) transfer(tx *transferTx) {
|
|||
m, ok := t.txs[from]
|
||||
if !ok {
|
||||
if m, ok = t.txs[to]; ok {
|
||||
from, to = to, from
|
||||
to = from // ignore `from = to` swap because `from` doesn't require
|
||||
tx.amount.Neg(tx.amount)
|
||||
} else {
|
||||
m = make(map[string]*transferTx, 1)
|
||||
|
|
Loading…
Reference in a new issue