From b42323d518c6e66f3436ceddc54a139a3634335a Mon Sep 17 00:00:00 2001 From: cheetah Date: Mon, 11 Sep 2023 22:44:33 +0000 Subject: [PATCH] fixed ssi type --- common/address.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/address.go b/common/address.go index f20f35b..54ebaff 100644 --- a/common/address.go +++ b/common/address.go @@ -34,12 +34,12 @@ func NewAddress() (addr *TetraFlexAddress) { }, } } -func NewAddressFromSSINumber(ssi uint16) (addr *TetraFlexAddress) { +func NewAddressFromSSINumber(ssi uint32) (addr *TetraFlexAddress) { return &TetraFlexAddress{ Kind: SSI, UserNo: "", TSI: NetIdentity{ - SSI: uint32(ssi), + SSI: ssi, MNC: 0, MCC: 0, },