#Serde different types issue
2 messages · Page 1 of 1 (latest)
That's what untagged is supposed to fix, but if you use untagged you have to make it a Vec:
pub enum InternalCommand {
Coinbase(Vec<InternalCommandCoinbase>),
FeeTransfer(Vec<InternalCommandFeeTransfer>),
}
```Or you can have it internally tagged, but unfortunately I don't think serde has this. I tried `0` but that didn't work.