BitcoinPrivate for message magic
This commit is contained in:
parent
005fa28106
commit
51b454c9ad
|
@ -28,7 +28,7 @@ var Message = function Message(message) {
|
||||||
return this;
|
return this;
|
||||||
};
|
};
|
||||||
|
|
||||||
Message.MAGIC_BYTES = new Buffer('Zcash Signed Message:\n'); // TODO!!
|
Message.MAGIC_BYTES = new Buffer('BitcoinPrivate Signed Message:\n');
|
||||||
|
|
||||||
Message.prototype.magicHash = function magicHash() {
|
Message.prototype.magicHash = function magicHash() {
|
||||||
var prefix1 = BufferWriter.varintBufNum(Message.MAGIC_BYTES.length);
|
var prefix1 = BufferWriter.varintBufNum(Message.MAGIC_BYTES.length);
|
||||||
|
|
Loading…
Reference in New Issue