mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-29 13:59:55 +00:00
Add some magic to signed statements and approval votes (#2585)
* add a magic number to backing statements encoded * fix fallout in statement table * fix some fallout in backing * add magic to approval votes * remove last references to Candidate variant * update size-hint
This commit is contained in:
1 parent
d859734ed9
commit
30e4a67f0c
7 files changed
+93
-44
No files matched your search
@@ -53,7 +53,7 @@ pub mod v1 {
|
||||
match *s {
|
||||
generic::Statement::Valid(s) => PrimitiveStatement::Valid(s),
|
||||
generic::Statement::Invalid(s) => PrimitiveStatement::Invalid(s),
|
||||
generic::Statement::Candidate(ref s) => PrimitiveStatement::Candidate(s.hash()),
|
||||
generic::Statement::Seconded(ref s) => PrimitiveStatement::Seconded(s.hash()),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user