Skip to content

Commit a531b50

Browse files
committed
CRC: fix mainnet flag
Signed-off-by: Jacinta Ferrant <[email protected]>
1 parent 8af3d2e commit a531b50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stacks-signer/src/v0/signer.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -608,7 +608,7 @@ impl Signer {
608608

609609
// authenticate the signature -- it must be signed by one of the stacking set
610610
let is_valid_sig = self.signer_addresses.iter().any(|addr| {
611-
let stacker_address = StacksAddress::p2pkh(true, &public_key);
611+
let stacker_address = StacksAddress::p2pkh(self.mainnet, &public_key);
612612

613613
// it only matters that the address hash bytes match
614614
stacker_address.bytes == addr.bytes

0 commit comments

Comments
 (0)