fix(cert): genesis: wrong received_count in StorageIdtyCertMeta
Compare changes
- Pascal Engélibert authored
+ 4
− 3
@@ -127,8 +127,9 @@ pub mod pallet {
@@ -138,7 +139,7 @@ pub mod pallet {
When iterating on a receiver's issuers, IdtyCertMeta were created for issuers when they hadn't already one, but it were initialized with the wrong received_count, and not updated after.
With this commit, it's initialized with a dummy value, then updated (or created) later with the right value.