multisig
multisig copied to clipboard
Confusing error message
Michael was trying to broadcast a test message from a 3-of-5 multisig address. The command should obviously fail, because he didn't sign it and it was just a test. But the error message was misleading:
Error: Insufficient signatures for broadcast. Requires 2, got 0
Michael's correct response:
This one actually requires three…
This message is confusing because the signature threshold is hard-coded in the code to, it's set to '2'. There's a TODO message saying that the threshold should be part of the config
https://github.com/informalsystems/multisig/blob/34d19b001af8976fb9896685d82387200a31b746/main.go#L718
This is related to informalsystems/validator#246 . Close it when that's done.