Merge PR #1377: types: remove GetMemo from Tx

This method is an unneccessary requirement on Tx. Auth casts the Tx
to StdTx, so the memo can be obtained in previous usecases from
StdTx. This also makes it more clear for when something is
implementing StdTx vs Tx.

Resolves #1375
This commit is contained in:
Dev Ojha
2018-06-26 04:37:21 +02:00
committed by Christopher Goes
parent f2a83a07f9
commit 893bb4027d
3 changed files with 3 additions and 5 deletions
-3
View File
@@ -31,9 +31,6 @@ type Tx interface {
// Gets the Msg.
GetMsgs() []Msg
// Gets the memo.
GetMemo() string
}
//__________________________________________________________