mirror of
https://github.com/LBRYFoundation/lbcd.git
synced 2025-08-23 17:47:24 +00:00
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
|
return ErrDuplicateNet
|
||||||
}
|
}
|
||||||
registeredNets[params.Net] = struct{}{}
|
registeredNets[params.Net] = struct{}{}
|
||||||
pubKeyHashAddrIDs[params.ScriptHashAddrID] = struct{}{}
|
pubKeyHashAddrIDs[params.PubKeyHashAddrID] = struct{}{}
|
||||||
scriptHashAddrIDs[params.ScriptHashAddrID] = struct{}{}
|
scriptHashAddrIDs[params.ScriptHashAddrID] = struct{}{}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue