diff --git a/vms/platformvm/txs/remove_subnet_validator_tx_test.go b/vms/platformvm/txs/remove_subnet_validator_tx_test.go index 02a9fdce7496..73f2df3cdcf2 100644 --- a/vms/platformvm/txs/remove_subnet_validator_tx_test.go +++ b/vms/platformvm/txs/remove_subnet_validator_tx_test.go @@ -263,7 +263,7 @@ func TestRemoveSubnetValidatorTxSerialization(t *testing.T) { } avax.SortTransferableOutputs(complexRemoveValidatorTx.Outs, Codec) utils.Sort(complexRemoveValidatorTx.Ins) - require.NoError(simpleRemoveValidatorTx.SyntacticVerify(&snow.Context{ + require.NoError(complexRemoveValidatorTx.SyntacticVerify(&snow.Context{ NetworkID: 1, ChainID: constants.PlatformChainID, AVAXAssetID: avaxAssetID, diff --git a/vms/platformvm/txs/transfer_subnet_ownership_tx_test.go b/vms/platformvm/txs/transfer_subnet_ownership_tx_test.go index 7e6f5835a283..e8cddeb3e1d0 100644 --- a/vms/platformvm/txs/transfer_subnet_ownership_tx_test.go +++ b/vms/platformvm/txs/transfer_subnet_ownership_tx_test.go @@ -103,7 +103,7 @@ func TestTransferSubnetOwnershipTxSerialization(t *testing.T) { expectedUnsignedSimpleTransferSubnetOwnershipTxBytes := []byte{ // Codec version 0x00, 0x00, - // RemoveSubnetValidatorTx Type ID + // TransferSubnetOwnershipTx Type ID 0x00, 0x00, 0x00, 0x21, // Mainnet network ID 0x00, 0x00, 0x00, 0x01, @@ -276,7 +276,7 @@ func TestTransferSubnetOwnershipTxSerialization(t *testing.T) { } avax.SortTransferableOutputs(complexTransferSubnetOwnershipTx.Outs, Codec) utils.Sort(complexTransferSubnetOwnershipTx.Ins) - require.NoError(simpleTransferSubnetOwnershipTx.SyntacticVerify(&snow.Context{ + require.NoError(complexTransferSubnetOwnershipTx.SyntacticVerify(&snow.Context{ NetworkID: 1, ChainID: constants.PlatformChainID, AVAXAssetID: avaxAssetID,