Remove spurious commits
This commit is contained in:
parent
c0e153d103
commit
16ccf8c6d7
|
@ -26,11 +26,6 @@ func TestSendTx(t *testing.T) {
|
|||
test1Acc.Balance = types.Coins{{"", 1000}}
|
||||
t.Log(bcApp.SetOption("base/account", string(wire.JSONBytes(test1Acc))))
|
||||
|
||||
res := bcApp.Commit()
|
||||
if res.IsErr() {
|
||||
cmn.Exit(cmn.Fmt("Failed Commit: %v", res.Error()))
|
||||
}
|
||||
|
||||
// Construct a SendTx signature
|
||||
tx := &types.SendTx{
|
||||
Gas: 0,
|
||||
|
@ -55,7 +50,7 @@ func TestSendTx(t *testing.T) {
|
|||
|
||||
// Write request
|
||||
txBytes := wire.BinaryBytes(struct{ types.Tx }{tx})
|
||||
res = bcApp.DeliverTx(txBytes)
|
||||
res := bcApp.DeliverTx(txBytes)
|
||||
t.Log(res)
|
||||
if res.IsErr() {
|
||||
t.Errorf("Failed: %v", res.Error())
|
||||
|
@ -75,11 +70,6 @@ func TestSequence(t *testing.T) {
|
|||
test1Acc.Balance = types.Coins{{"", 1 << 53}}
|
||||
t.Log(bcApp.SetOption("base/account", string(wire.JSONBytes(test1Acc))))
|
||||
|
||||
res := bcApp.Commit()
|
||||
if res.IsErr() {
|
||||
t.Errorf("Failed Commit: %v", res.Error())
|
||||
}
|
||||
|
||||
sequence := int(1)
|
||||
// Make a bunch of PrivAccounts
|
||||
privAccounts := testutils.RandAccounts(1000, 1000000, 0)
|
||||
|
@ -119,13 +109,13 @@ func TestSequence(t *testing.T) {
|
|||
|
||||
}
|
||||
|
||||
t.Log("-------------------- RANDOM SENDS --------------------")
|
||||
|
||||
res = bcApp.Commit()
|
||||
res := bcApp.Commit()
|
||||
if res.IsErr() {
|
||||
t.Errorf("Failed Commit: %v", res.Error())
|
||||
}
|
||||
|
||||
t.Log("-------------------- RANDOM SENDS --------------------")
|
||||
|
||||
// Now send coins between these accounts
|
||||
for i := 0; i < 10000; i++ {
|
||||
randA := cmn.RandInt() % len(privAccounts)
|
||||
|
|
Loading…
Reference in New Issue