feat: Use DecodeOwned for improved ergonomic (#74)
This commit is contained in:
parent
2c500f679e
commit
3eb064502c
7 changed files with 20 additions and 53 deletions
|
|
@ -1,10 +1,7 @@
|
|||
use core::panic;
|
||||
use std::collections::HashMap;
|
||||
|
||||
use pallas_codec::{
|
||||
impl_fragment,
|
||||
minicbor::{decode, encode, Decode, Encode, Encoder},
|
||||
};
|
||||
use pallas_codec::minicbor::{decode, encode, Decode, Encode, Encoder};
|
||||
|
||||
use crate::machines::{Agent, MachineOutput};
|
||||
|
||||
|
|
@ -136,8 +133,6 @@ impl<'b> Decode<'b> for Message {
|
|||
}
|
||||
}
|
||||
|
||||
impl_fragment!(Message);
|
||||
|
||||
#[derive(Debug, PartialEq, Eq)]
|
||||
pub enum State {
|
||||
Propose,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue