diff --git a/bip-0137.mediawiki b/bip-0137.mediawiki index 536ca2d6..49e95c9a 100644 --- a/bip-0137.mediawiki +++ b/bip-0137.mediawiki @@ -64,7 +64,7 @@ To verify a signature, the recId is obtained by subtracting this constant from t Note: this code is a modification of the BitcoinJ code which is written in java. -``` + public static ECKey signedMessageToKey(String message, String signatureBase64) throws SignatureException { byte[] signatureEncoded; try { @@ -113,7 +113,7 @@ Note: this code is a modification of the BitcoinJ code which is written in java. throw new SignatureException("Could not recover public key from signature"); return key; } -``` + ==Backwards Compatibility==