This commit is contained in:
aozhiwei 2024-07-24 10:51:21 +08:00
parent e023dff83d
commit 061eb3dd03

View File

@ -152,8 +152,13 @@ func (this* chainActivity) saveToDb(ds *f5.DataSet) bool {
tokenId := q5.SafeToString(nft[0])
to := q5.SafeToString(nft[1])
var isMint int32
if nft[2].(bool) {
isMint = 1
if value, ok := nft[2].(bool); ok {
if value {
isMint = 1
}
} else {
decodeJsonOk = false
break
}
var dbErr error
f5.GetGoStyleDb().Upsert(