accounting: implement SignedDataSource on BalanceRequest message

This commit is contained in:
Leonard Lyubich 2020-05-11 11:59:39 +03:00
parent b6e6aa7238
commit b9d30d6138
4 changed files with 106 additions and 0 deletions

View file

@ -351,3 +351,13 @@ func (m *Settlement) Equal(s *Settlement) bool {
}
return len(m.Transactions) == 0 || reflect.DeepEqual(m.Transactions, s.Transactions)
}
// GetOwnerID is an OwnerID field getter.
func (m BalanceRequest) GetOwnerID() OwnerID {
return m.OwnerID
}
// SetOwnerID is an OwnerID field setter.
func (m *BalanceRequest) SetOwnerID(owner OwnerID) {
m.OwnerID = owner
}