From c741be16cea679808fbaa9181be08bbae03952de Mon Sep 17 00:00:00 2001 From: rigelrozanski Date: Tue, 10 Apr 2018 17:45:23 -0400 Subject: [PATCH] next sequence comment, CHANGELOG updates --- CHANGELOG.md | 4 ++++ client/core/core.go | 1 + 2 files changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 52feff7fc3..1b31535273 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,10 @@ BREAKING CHANGES * Remove go-wire, use go-amino +FEATURES: + +* Add auto sequencing to client + ## 0.14.1 (April 9, 2018) BUG FIXES diff --git a/client/core/core.go b/client/core/core.go index e28e6c3928..2a1b2736a2 100644 --- a/client/core/core.go +++ b/client/core/core.go @@ -140,6 +140,7 @@ func (ctx CoreContext) SignBuildBroadcast(name string, msg sdk.Msg, cdc *wire.Co return ctx.BroadcastTx(txBytes) } +// get the next sequence for the account address func (c CoreContext) NextSequence(address []byte) (int64, error) { if c.Decoder == nil { return 0, errors.New("AccountDecoder required but not provided")