Fixed warnings by handlings absent voter fields in afg messages (#214)

This commit is contained in:
Simon Littlejohns
2019-12-19 21:32:55 +00:00
committed by Maciej Hirsz
parent 65bfd1b943
commit b9d658e2e6
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -100,7 +100,7 @@ pub struct AfgFinalized {
pub struct AfgReceived {
pub target_hash: BlockHash,
pub target_number: Box<str>,
pub voter: Box<str>,
pub voter: Option<Box<str>>,
}
#[derive(Deserialize, Debug, Clone)]