From 6088113bf7335f6702418d2d6165d6f3dbc064b3 Mon Sep 17 00:00:00 2001 From: GImbrailo Date: Wed, 16 Oct 2024 14:14:43 -0700 Subject: [PATCH] fix: endorsement not allowed test allowed for endorsements --- pkg/signatory/signatory_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/signatory/signatory_test.go b/pkg/signatory/signatory_test.go index 458e5f28..2fc1b7c0 100644 --- a/pkg/signatory/signatory_test.go +++ b/pkg/signatory/signatory_test.go @@ -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",