This commit is contained in:
aozhiwei 2024-08-16 17:27:02 +08:00
parent a61885f989
commit 9176226c4f

View File

@ -118,6 +118,11 @@ func (this *CurrencyTable) PostInit1() {
}
return true
})
contractMeta := Table.Contract.GetByNetIdName(netId, currencyMeta.GetCurrencyName())
if contractMeta == nil {
panic(fmt.Sprintf("currency contract not found"))
}
currencyMeta.contract = contractMeta
return true
})
}