mirror of
https://github.com/OneKeyHQ/bip39.git
synced 2026-04-18 00:12:18 +00:00
fixed signing message for DigiByte
Not fixed by this pull request because I could not figure out where it is done but like Bitcoin BIP44,BIP49,BIP84 should be xpub,ypub,zpub respectively.
This commit is contained in:
committed by
GitHub
parent
c768923b77
commit
6746a9a45e
@@ -615,7 +615,7 @@ bitcoinjs.bitcoin.networks.diamond = {
|
||||
};
|
||||
|
||||
bitcoinjs.bitcoin.networks.digibyte = {
|
||||
messagePrefix: '\x18DigiByte Signed Message:\n',
|
||||
messagePrefix: '\x19DigiByte Signed Message:\n',
|
||||
bip32: {
|
||||
public: 0x0488B21E,
|
||||
private: 0x0488ADE4,
|
||||
|
||||
@@ -161,7 +161,7 @@ bitcoinjs.bitcoin.networks.bgold.p2wpkhInP2sh = {
|
||||
|
||||
bitcoinjs.bitcoin.networks.digibyte.p2wpkh = {
|
||||
baseNetwork: "digibyte",
|
||||
messagePrefix: '\x18DigiByte Signed Message:\n',
|
||||
messagePrefix: 'x19DigiByte Signed Message:\n',
|
||||
bech32: 'dgb',
|
||||
bip32: {
|
||||
public: 0x0488B21E,
|
||||
@@ -174,7 +174,7 @@ bitcoinjs.bitcoin.networks.digibyte.p2wpkh = {
|
||||
|
||||
bitcoinjs.bitcoin.networks.digibyte.p2wpkhInP2sh = {
|
||||
baseNetwork: "digibyte",
|
||||
messagePrefix: '\x18DigiByte Signed Message:\n',
|
||||
messagePrefix: '\x19DigiByte Signed Message:\n',
|
||||
bech32: 'dgb',
|
||||
bip32: {
|
||||
public: 0x0488B21E,
|
||||
|
||||
Reference in New Issue
Block a user