From 2d980c00b9f47292727fa381c38bafa7a0e489ee Mon Sep 17 00:00:00 2001 From: StephenButtolph Date: Mon, 6 Apr 2020 17:51:23 -0400 Subject: [PATCH] Changed order of ControlSigs and PayerSig for consistency with other txs --- vms/platformvm/create_chain_tx.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/vms/platformvm/create_chain_tx.go b/vms/platformvm/create_chain_tx.go index 241f052..645a6da 100644 --- a/vms/platformvm/create_chain_tx.go +++ b/vms/platformvm/create_chain_tx.go @@ -52,13 +52,13 @@ type CreateChainTx struct { // Set in SemanticVerify PayerAddress ids.ShortID - // Signature of key whose account provides the transaction fee - PayerSig [crypto.SECP256K1RSigLen]byte `serialize:"true"` - // Signatures from Subnet's control keys // Should not empty slice, not nil, if there are no control sigs ControlSigs [][crypto.SECP256K1RSigLen]byte `serialize:"true"` + // Signature of key whose account provides the transaction fee + PayerSig [crypto.SECP256K1RSigLen]byte `serialize:"true"` + vm *VM id ids.ID bytes []byte