Merge pull request #1 from BTCP-community/master
BitcoinPrivate for message magic
This commit is contained in:
commit
5332445fc4
|
@ -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