mirror of
https://github.com/alexgo-io/stacks-puppet-node.git
synced 2026-06-18 03:38:57 +08:00
chore: update comment to match code
This commit is contained in:
@@ -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",
|
||||
)),
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user