mirror of
https://github.com/alexgo-io/stacks-puppet-node.git
synced 2026-06-19 17:21:00 +08:00
fix: use weight in signer set (not number of slots)
This commit is contained in:
@@ -274,7 +274,7 @@ impl NakamotoSigners {
|
||||
"signer".into(),
|
||||
Value::Principal(PrincipalData::from(signing_address)),
|
||||
),
|
||||
("weight".into(), Value::UInt(signer.slots.into())),
|
||||
("weight".into(), Value::UInt(signer.stacked_amt.into())),
|
||||
])
|
||||
.expect(
|
||||
"BUG: Failed to construct `{ signer: principal, num-slots: u64 }` tuple",
|
||||
|
||||
Reference in New Issue
Block a user