aboutsummaryrefslogtreecommitdiff
path: root/src/store/key_table.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/store/key_table.rs')
-rw-r--r--src/store/key_table.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/store/key_table.rs b/src/store/key_table.rs
index 7476622f..6c3f96d6 100644
--- a/src/store/key_table.rs
+++ b/src/store/key_table.rs
@@ -30,7 +30,8 @@ impl Key {
authorized_buckets: vec![],
};
for b in buckets {
- ret.add_bucket(b);
+ ret.add_bucket(b)
+ .expect("Duplicate AllowedBucket in Key constructor");
}
ret
}