Skip to content

Commit

Permalink
fix: endorsement not allowed test allowed for endorsements
Browse files Browse the repository at this point in the history
  • Loading branch information
GImbrailo committed Oct 16, 2024
1 parent 0ecde9b commit 6088113
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/signatory/signatory_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ func TestPolicy(t *testing.T) {
msg: mustHex("13ed9d217cfc81eee810737b04018acef4db74d056b79edc43e6be46cae7e4c217c22a82f01500120000518d0000000003e7ea1f67dbb0bb6cfa372cb092cd9cf786b4f1b5e5139da95b915fb95e698d"),
policy: signatory.PublicKeyPolicy{
AllowedRequests: []string{"generic", "block", "attestation"},
AllowedOps: []string{"endorsement", "seed_nonce_revelation", "activate_account", "ballot", "reveal", "transaction", "origination", "delegation", "update_consensus_key"},
AllowedOps: []string{"seed_nonce_revelation", "activate_account", "ballot", "reveal", "transaction", "origination", "delegation", "update_consensus_key"},
LogPayloads: true,
},
expected: "request kind `endorsement' is not allowed",
Expand Down

0 comments on commit 6088113

Please sign in to comment.