-
Notifications
You must be signed in to change notification settings - Fork 135
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Iris/seq num #406
base: master
Are you sure you want to change the base?
Iris/seq num #406
Conversation
@@ -664,3 +664,88 @@ func (e *Encoder) DecodeAccountCurrency( // nolint:gocognit | |||
|
|||
return nil | |||
} | |||
|
|||
|
|||
func (e *Encoder) EncodeBalanceSeq( // nolint:gocognit |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what does this do? Let's add comments
@@ -321,7 +329,8 @@ func (b *BalanceStorage) SetBalance( | |||
ctx context.Context, | |||
dbTransaction database.Transaction, | |||
account *types.AccountIdentifier, | |||
amount *types.Amount, | |||
balanceSeq *types.BalanceSeq, | |||
//amount *types.Amount, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove this.
|
||
type BalanceSeq struct { | ||
Amount *Amount | ||
SeqNumSupport *SequenceNumSupport |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we really need this field?
Fixes # .
Motivation
Solution
Open questions