Skip to content
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

Draft
wants to merge 10 commits into
base: master
Choose a base branch
from
Draft

Iris/seq num #406

wants to merge 10 commits into from

Conversation

irisZhangCB
Copy link
Contributor

Fixes # .

Motivation

Solution

Open questions

@@ -664,3 +664,88 @@ func (e *Encoder) DecodeAccountCurrency( // nolint:gocognit

return nil
}


func (e *Encoder) EncodeBalanceSeq( // nolint:gocognit
Copy link
Contributor

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,
Copy link
Contributor

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
Copy link
Contributor

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants