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 3dd76ef
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 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 All @@ -20,6 +21,7 @@ import (
"github.com/ava-labs/avalanchego/vms/platformvm/txs"
"github.com/ava-labs/avalanchego/vms/platformvm/warp/message"
"github.com/ava-labs/avalanchego/vms/secp256k1fx"
"github.com/ava-labs/avalanchego/wallet/chain/p"
"github.com/ava-labs/avalanchego/wallet/chain/p/builder"
"github.com/ava-labs/avalanchego/wallet/chain/p/signer"
"github.com/ava-labs/avalanchego/wallet/chain/p/wallet"
Expand Down Expand Up @@ -126,9 +128,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.WalletID, txID, time.Duration(0))
}
ctx := ops.Context()
return c.backend.AcceptTx(ctx, tx)
Expand Down

0 comments on commit 3dd76ef

Please sign in to comment.