fix the tests. includes some hacks

This commit is contained in:
Ethan Buchman
2018-03-18 02:02:26 +01:00
parent d807d32f8a
commit 64852138b6
12 changed files with 301 additions and 114 deletions
-2
View File
@@ -2,7 +2,6 @@ package types
import (
"encoding/json"
"fmt"
)
// Transactions messages must fulfill the Msg
@@ -125,7 +124,6 @@ type StdSignDoc struct {
// StdSignBytes returns the bytes to sign for a transaction.
// TODO: change the API to just take a chainID and StdTx ?
func StdSignBytes(chainID string, sequences []int64, fee StdFee, msg Msg) []byte {
fmt.Println("FEE BYTES BABY", fee, string(fee.Bytes()))
bz, err := json.Marshal(StdSignDoc{
ChainID: chainID,
Sequences: sequences,