Skip to content
Snippets Groups Projects

Ci

Merged Éloïs requested to merge ci into dev
12 files
+ 24
20
Compare changes
  • Side-by-side
  • Inline
Files
12
@@ -65,7 +65,7 @@ pub fn apply_valid_block<W: WebOfTrust>(
// Newcomer
let wot_id = NodeId(
wot_db
.read(|db| db.size())
.read(WebOfTrust::size)
.expect("Fatal error : fail to read WotDB !"),
);
wot_db
@@ -195,7 +195,7 @@ pub fn apply_valid_block<W: WebOfTrust>(
if let Some(du_amount) = block.dividend {
if du_amount > 0 {
let members_wot_ids = wot_db
.read(|db| db.get_enabled())
.read(WebOfTrust::get_enabled)
.expect("Fail to read WotDB");
let mut members_pubkeys = Vec::new();
for (pubkey, wot_id) in wot_index {
Loading