diff --git a/vms/platformvm/txs/txstest/wallet.go b/vms/platformvm/txs/txstest/wallet.go index b022ca3abcb9..a9463b88af20 100644 --- a/vms/platformvm/txs/txstest/wallet.go +++ b/vms/platformvm/txs/txstest/wallet.go @@ -7,6 +7,7 @@ import ( "context" "math" "testing" + "time" "github.com/stretchr/testify/require" @@ -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" @@ -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)