stacks-network / stacks-core

The Stacks blockchain implementation
https://docs.stacks.co
GNU General Public License v3.0
3.01k stars 667 forks source link

test(signer): Add test with duplicate signer private key #5108

Closed jbencin closed 3 weeks ago

jbencin commented 1 month ago

Description

Applicable issues

Additional info (benefits, drawbacks, caveats)

I was trying to make this test check that only the first signer with the duplicate was accepted, and the second was rejected, but this seems impossible because the signatures from the signers are identical. So I just check that the signature is not included twice

Checklist