1
0
Fork 0
mirror of https://github.com/bitcoin/bips.git synced 2025-02-24 15:36:53 +01:00

media wiki format

This commit is contained in:
cgilliard 2019-03-29 20:10:30 -07:00 committed by GitHub
parent 6a181756e4
commit 95db88b5e8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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>
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>
==Backwards Compatibility==