Skip to content

Commit

Permalink
fixed the M prefix version byte
Browse files Browse the repository at this point in the history
  • Loading branch information
wangxinxi committed Jul 1, 2018
1 parent 92a0feb commit 2cf65bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chaincfg/params.go
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ var MainNetParams = Params{

// Address encoding magics
PubKeyHashAddrID: 0x30, // starts with L
ScriptHashAddrID: 0x50, // starts with M
ScriptHashAddrID: 0x32, // starts with M
PrivateKeyID: 0xB0, // starts with 6 (uncompressed) or T (compressed)
WitnessPubKeyHashAddrID: 0x06, // starts with p2
WitnessScriptHashAddrID: 0x0A, // starts with 7Xh
Expand Down

0 comments on commit 2cf65bb

Please sign in to comment.