Merge PR #4500: Remove unnecessary auth dependency from the server package

This commit is contained in:
Alessio Treglia 2019-06-06 15:48:01 +01:00 committed by Alexander Bezobchuk
parent 1ccf0c2e8d
commit 5b78a7bc19

View File

@ -6,7 +6,6 @@ import (
"fmt"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/cosmos/cosmos-sdk/x/auth"
)
// An sdk.Tx which is its own sdk.Msg.
@ -56,10 +55,6 @@ func (tx kvstoreTx) GetSigners() []sdk.AccAddress {
return nil
}
func (tx kvstoreTx) GetSignatures() []auth.StdSignature {
return nil
}
// takes raw transaction bytes and decodes them into an sdk.Tx. An sdk.Tx has
// all the signatures and can be used to authenticate.
func decodeTx(txBytes []byte) (sdk.Tx, sdk.Error) {