Remove requirement for gentx to be only 1 msg (#8954)
Co-authored-by: Alessio Treglia <alessio@tendermint.com> Co-authored-by: Marko <marbar3778@yahoo.com>
This commit is contained in:
parent
f637f54369
commit
54763277c3
|
@ -134,9 +134,6 @@ func CollectTxs(cdc codec.JSONMarshaler, txJSONDecoder sdk.TxDecoder, moniker, g
|
|||
|
||||
// genesis transactions must be single-message
|
||||
msgs := genTx.GetMsgs()
|
||||
if len(msgs) != 1 {
|
||||
return appGenTxs, persistentPeers, errors.New("each genesis transaction must provide a single genesis message")
|
||||
}
|
||||
|
||||
// TODO abstract out staking message validation back to staking
|
||||
msg := msgs[0].(*stakingtypes.MsgCreateValidator)
|
||||
|
|
Loading…
Reference in New Issue