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
+1
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")