next sequence comment, CHANGELOG updates

This commit is contained in:
rigelrozanski 2018-04-10 17:45:23 -04:00
parent c7b680a545
commit c741be16ce
2 changed files with 5 additions and 0 deletions

View File

@ -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

View File

@ -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")