Fix linting

This commit is contained in:
Aleksandr Bezobchuk
2020-03-15 14:10:15 -04:00
parent f60cd5a2b5
commit 98f62db242
5 changed files with 9 additions and 13 deletions
@@ -103,7 +103,7 @@ to handle all the types, but also knows how to generate transactions, signatures
and messages.
```go
type TxGenerator interface {
type Generator interface {
NewTx() ClientTx
}
@@ -123,7 +123,7 @@ type ClientTx interface {
}
```
We then update `CLIContext` to have two new fields: `TxGenerator` and `TxGenerator`.
We then update `CLIContext` to have two new fields: `Generator` and `Generator`.
Then, each module will at the minimum accept a `Marshaler` instead of a concrete
Amino codec. If the module needs to work with any interface types, it will use