Skip to content

Commit

Permalink
Update test/testchain/chain.go
Browse files Browse the repository at this point in the history
Co-authored-by: libotony <[email protected]>
  • Loading branch information
otherview and libotony authored Nov 7, 2024
1 parent 51d640f commit 6ffe126
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/testchain/chain.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ func (c *Chain) MintTransactions(account genesis.DevAccount, transactions ...*tx
// It schedules a new block, adopts transactions, packs them into a block, and commits it to the chain.
func (c *Chain) MintBlock(account genesis.DevAccount, transactions ...*tx.Transaction) error {
// Create a new block packer with the current chain state and account information.
blkPacker := packer.New(c.Repo(), c.Stater(), account.Address, &genesis.DevAccounts()[0].Address, thor.NoFork)
blkPacker := packer.New(c.Repo(), c.Stater(), account.Address, &genesis.DevAccounts()[0].Address, c.forkConfig)

// Create a new block
blkFlow, err := blkPacker.Mock(
Expand Down

0 comments on commit 6ffe126

Please sign in to comment.