We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fe3fd13 commit 831086dCopy full SHA for 831086d
node/node.go
@@ -905,8 +905,9 @@ func (node *AlgorandFullNode) InstallParticipationKey(partKeyBinary []byte) (acc
905
return account.ParticipationID{}, fmt.Errorf("cannot install partkey with missing state proof keys")
906
}
907
908
- if len(partkey.StateProofSecrets.GetAllKeys()) == 0 {
909
- return account.ParticipationID{}, fmt.Errorf("cannot install partkey with missing state proof keys")
+ // A slightly different error message to help with debugging
+ if partkey.StateProofSecrets.GetVerifier().IsEmpty() {
910
+ return account.ParticipationID{}, fmt.Errorf("cannot install partkey with no state proof keys")
911
912
913
if partkey.Parent == (basics.Address{}) {
0 commit comments