From a7024eb66c74b37dbef6d7bac1e9e79266ddc3be Mon Sep 17 00:00:00 2001 From: Radu Ioan Fericean Date: Mon, 29 Feb 2016 12:40:46 +0200 Subject: [PATCH] SetBalance to modify the ID too --- engine/balance_filter.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/engine/balance_filter.go b/engine/balance_filter.go index e9557b75c..dc832cf0b 100644 --- a/engine/balance_filter.go +++ b/engine/balance_filter.go @@ -285,6 +285,9 @@ func (bf *BalanceFilter) ModifyBalance(b *Balance) { if b == nil { return } + if bf.ID != nil { + b.ID = *bf.ID + } if bf.Directions != nil { b.Directions = *bf.Directions }