summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcgilliard <christopher.gilliard@gmail.com>2019-03-29 20:11:51 -0700
committerGitHub <noreply@github.com>2019-03-29 20:11:51 -0700
commitbebffb6ac8b3c26ca48962faac61579b9055442b (patch)
treedcb229095777b8be79e3e82298f9f319df513d68
parent95db88b5e8dad326a2b38629641fd729d6fd9161 (diff)
downloadbips-bebffb6ac8b3c26ca48962faac61579b9055442b.tar.xz
move to code tag
-rw-r--r--bip-0137.mediawiki4
1 files changed, 2 insertions, 2 deletions
diff --git a/bip-0137.mediawiki b/bip-0137.mediawiki
index 49e95c9..a367238 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.
-<nowiki>
+<code>
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;
}
-</nowiki>
+</code>
==Backwards Compatibility==