fixed ssi type

This commit is contained in:
cheetah 2023-09-11 22:44:33 +00:00
parent ad701f7a97
commit b42323d518

View file

@ -34,12 +34,12 @@ func NewAddress() (addr *TetraFlexAddress) {
}, },
} }
} }
func NewAddressFromSSINumber(ssi uint16) (addr *TetraFlexAddress) { func NewAddressFromSSINumber(ssi uint32) (addr *TetraFlexAddress) {
return &TetraFlexAddress{ return &TetraFlexAddress{
Kind: SSI, Kind: SSI,
UserNo: "", UserNo: "",
TSI: NetIdentity{ TSI: NetIdentity{
SSI: uint32(ssi), SSI: ssi,
MNC: 0, MNC: 0,
MCC: 0, MCC: 0,
}, },