Fix adding wrong HashAddrID to pubKeyHashAddrIDs
This commit is contained in:
parent
dc967b7cc8
commit
a3091847b3
1 changed files with 1 additions and 1 deletions
|
@ -302,7 +302,7 @@ func Register(params *Params) error {
|
|||
return ErrDuplicateNet
|
||||
}
|
||||
registeredNets[params.Net] = struct{}{}
|
||||
pubKeyHashAddrIDs[params.ScriptHashAddrID] = struct{}{}
|
||||
pubKeyHashAddrIDs[params.PubKeyHashAddrID] = struct{}{}
|
||||
scriptHashAddrIDs[params.ScriptHashAddrID] = struct{}{}
|
||||
return nil
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue