next sequence comment, CHANGELOG updates
This commit is contained in:
parent
c7b680a545
commit
c741be16ce
@ -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
|
||||
|
||||
@ -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")
|
||||
|
||||
Loading…
Reference in New Issue
Block a user