Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
  • Loading branch information
chris124567 committed Sep 6, 2024
1 parent c7209ce commit 7e59e93
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions persist/sqlite/consensus_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -577,6 +577,7 @@ func TestSendTransactions(t *testing.T) {
// with the actual transactions
for i := range b.Transactions {
checkTransaction(b.Transactions[i], block.Transactions[i])
check(t, "chain indices", []types.ChainIndex{cm.Tip()}, block.Transactions[i].ChainIndices)

txns, err := db.Transactions([]types.TransactionID{b.Transactions[i].ID()})
if err != nil {
Expand Down Expand Up @@ -1780,6 +1781,7 @@ func TestRevertSendTransactions(t *testing.T) {
// with the actual transactions
for i := range b.Transactions {
checkTransaction(b.Transactions[i], block.Transactions[i])
check(t, "chain indices", []types.ChainIndex{cm.Tip()}, block.Transactions[i].ChainIndices)

txns, err := db.Transactions([]types.TransactionID{b.Transactions[i].ID()})
if err != nil {
Expand Down

0 comments on commit 7e59e93

Please sign in to comment.