cmd/commands -> cmd/basecoin/commands

This commit is contained in:
Ethan Buchman 2017-06-21 00:26:21 -04:00
parent 9b0f4fc650
commit 105cdbac38
14 changed files with 3 additions and 3 deletions

View File

@ -51,7 +51,7 @@ func (s *AppTx) Signers() ([]crypto.PubKey, error) {
func (s *AppTx) TxBytes() ([]byte, error) {
// TODO: verify it is signed
// Code and comment from: basecoin/cmd/commands/tx.go
// Code and comment from: basecoin/cmd/basecoin/commands/tx.go
// Don't you hate having to do this?
// How many times have I lost an hour over this trick?!
txBytes := wire.BinaryBytes(bc.TxS{s.Tx})

View File

@ -50,7 +50,7 @@ func (s *SendTx) Signers() ([]crypto.PubKey, error) {
func (s *SendTx) TxBytes() ([]byte, error) {
// TODO: verify it is signed
// Code and comment from: basecoin/cmd/commands/tx.go
// Code and comment from: basecoin/cmd/basecoin/commands/tx.go
// Don't you hate having to do this?
// How many times have I lost an hour over this trick?!
txBytes := wire.BinaryBytes(struct {

View File

@ -5,7 +5,7 @@ import (
"github.com/spf13/cobra"
"github.com/tendermint/basecoin/cmd/commands"
"github.com/tendermint/basecoin/cmd/basecoin/commands"
"github.com/tendermint/tmlibs/cli"
)