Skip to content

Commit

Permalink
fixup: Address lint failure
Browse files Browse the repository at this point in the history
  • Loading branch information
marun committed Nov 21, 2024
1 parent 71804aa commit d0f280c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions vms/platformvm/txs/txstest/wallet.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import (
"context"
"math"
"testing"
"time"

"github.com/stretchr/testify/require"

Expand Down Expand Up @@ -126,9 +127,9 @@ func (c *client) IssueTx(
options ...common.Option,
) error {
ops := common.NewOptions(options)
if f := ops.PostIssuanceFunc(); f != nil {
if f := ops.PostIssuanceHandler(); f != nil {
txID := tx.ID()
f(txID)
f('P', txID, time.Duration(0))
}
ctx := ops.Context()
return c.backend.AcceptTx(ctx, tx)
Expand Down

0 comments on commit d0f280c

Please sign in to comment.