Skip to content

Commit

Permalink
morpheusVM compiles
Browse files Browse the repository at this point in the history
  • Loading branch information
wlawt committed Apr 25, 2024
1 parent 1e8de35 commit 1e6bcbb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/morpheusvm/tests/integration/integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -366,10 +366,10 @@ var _ = ginkgo.Describe("[Tx Processing]", func() {
Timestamp: 0,
MaxFee: 1000,
},
&actions.Transfer{
[]chain.Action{&actions.Transfer{
To: addr2,
Value: 110,
},
}},
)
// Must do manual construction to avoid `tx.Sign` error (would fail with
// 0 timestamp)
Expand Down Expand Up @@ -777,7 +777,7 @@ var _ = ginkgo.Describe("[Tx Processing]", func() {
blk, lresults, prices, err := cli.ListenBlock(context.TODO(), parser)
gomega.Ω(err).Should(gomega.BeNil())
gomega.Ω(len(blk.Txs)).Should(gomega.Equal(1))
tx := blk.Txs[0].Action.(*actions.Transfer)
tx := blk.Txs[0].Actions[0].(*actions.Transfer)
gomega.Ω(tx.Value).To(gomega.Equal(uint64(1)))
gomega.Ω(lresults).Should(gomega.Equal(results))
gomega.Ω(prices).Should(gomega.Equal(fees.Dimensions{1, 1, 1, 1, 1}))
Expand Down

0 comments on commit 1e6bcbb

Please sign in to comment.