mirror of
https://github.com/tendermint/tendermint.git
synced 2026-09-20 06:54:41 +00:00
fix tests
This commit is contained in:
@@ -39,13 +39,11 @@ func TestBlock(t *testing.T) {
|
||||
BaseTx: randBaseTx(),
|
||||
Fee: RandUInt64Exp(),
|
||||
UnbondTo: RandUInt64Exp(),
|
||||
Amount: RandUInt64Exp(),
|
||||
}
|
||||
|
||||
unbondTx := &UnbondTx{
|
||||
BaseTx: randBaseTx(),
|
||||
Fee: RandUInt64Exp(),
|
||||
Amount: RandUInt64Exp(),
|
||||
}
|
||||
|
||||
timeoutTx := &TimeoutTx{
|
||||
|
||||
+3
-3
@@ -20,7 +20,7 @@ Validation Txs:
|
||||
|
||||
type Tx interface {
|
||||
Signable
|
||||
GetSequence() uint64
|
||||
GetSequence() uint
|
||||
}
|
||||
|
||||
const (
|
||||
@@ -83,7 +83,7 @@ func ReadTx(r io.Reader, n *int64, err *error) Tx {
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
type BaseTx struct {
|
||||
Sequence uint64
|
||||
Sequence uint
|
||||
Signature
|
||||
}
|
||||
|
||||
@@ -100,7 +100,7 @@ func (tx BaseTx) WriteTo(w io.Writer) (n int64, err error) {
|
||||
return
|
||||
}
|
||||
|
||||
func (tx *BaseTx) GetSequence() uint64 {
|
||||
func (tx *BaseTx) GetSequence() uint {
|
||||
return tx.Sequence
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user