diff --git a/duniterpy/documents/block.py b/duniterpy/documents/block.py
index f14b872944498035d4e7fe7761aca0ecd5d04b20..a885c1bb7c35845216468ed449154a626addf73f 100644
--- a/duniterpy/documents/block.py
+++ b/duniterpy/documents/block.py
@@ -550,7 +550,10 @@ Nonce: {nonce}
         Warning : current signatures will be replaced with the new ones.
         """
         key = keys[0]
-        signed = self.raw()[-2:]
+        signed = "InnerHash: {inner_hash}\nNonce: {nonce}\n".format(
+            inner_hash=self.inner_hash,
+            nonce=self.nonce,
+        )
         signing = base64.b64encode(key.signature(bytes(signed, "ascii")))
         self.signatures = [signing.decode("ascii")]