chore: update comment to match code

This commit is contained in:
Brice Dobry
2024-02-14 17:09:00 -05:00
parent 1592b5383e
commit c4be109ff1

View File

@@ -276,9 +276,9 @@ impl NakamotoSigners {
),
("weight".into(), Value::UInt(signer.stacked_amt.into())),
])
.expect(
"BUG: Failed to construct `{ signer: principal, num-slots: u64 }` tuple",
),
.expect(
"BUG: Failed to construct `{ signer: principal, weight: uint }` tuple",
),
)
})
.collect()
@@ -303,7 +303,7 @@ impl NakamotoSigners {
let set_signers_args = [
SymbolicExpression::atom_value(Value::UInt(reward_cycle.into())),
SymbolicExpression::atom_value(Value::cons_list_unsanitized(signers_list).expect(
"BUG: Failed to construct `(list 4000 { signer: principal, weight: u64 })` list",
"BUG: Failed to construct `(list 4000 { signer: principal, weight: uint })` list",
)),
];