From 446d4a88efb019a54aa71cca2e44d96e41ad37ae Mon Sep 17 00:00:00 2001
From: vtexier <vit@free.fr>
Date: Mon, 24 Feb 2020 12:11:17 +0100
Subject: [PATCH] [fix] fix publish revocation document

---
 src/sakia/services/documents.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/sakia/services/documents.py b/src/sakia/services/documents.py
index 15077ac9..6f8eefaf 100644
--- a/src/sakia/services/documents.py
+++ b/src/sakia/services/documents.py
@@ -109,10 +109,10 @@ class DocumentsService:
     async def broadcast_revocation(
         self, currency, identity_document, revocation_document
     ):
-        signed_raw = revocation_document.signed_raw(identity_document)
+        signed_raw = revocation_document.signed_raw()
         self._logger.debug("Broadcasting : \n" + signed_raw)
         responses = await self._bma_connector.broadcast(
-            currency, bma.wot.revoke, req_args={"revocation": signed_raw}
+            currency, bma.wot.revoke, req_args={"revocation_signed_raw": signed_raw}
         )
 
         result = False, ""
-- 
GitLab