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

This commit is contained in:
Simon Littlejohns authored and Maciej Hirsz committed 2019-12-19 22:32:55 +01:00
1 parent 65bfd1b943
commit b9d658e2e6
2 files changed
+3 -3

No files matched your search

+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)]