Fix up ibc to work with new cli reorg

This commit is contained in:
Ethan Frey
2017-07-27 16:25:05 -04:00
parent 8659c4db68
commit 9b099a2f36
4 changed files with 13 additions and 17 deletions
+1 -5
View File
@@ -5,7 +5,6 @@ import (
merkle "github.com/tendermint/merkleeyes/iavl"
"github.com/tendermint/basecoin"
"github.com/tendermint/basecoin/errors"
)
// nolint
@@ -94,11 +93,8 @@ type CreatePacketTx struct {
// ValidateBasic makes sure this is consistent - used to satisfy TxInner
func (p CreatePacketTx) ValidateBasic() error {
if p.DestChain == "" {
return errors.ErrNoChain()
return ErrWrongDestChain(p.DestChain)
}
// if len(p.Permissions) == 0 {
// return ErrNoPermissions()
// }
return nil
}