From 46dfc1763a84dc10e03fab1e35eff95e84dbed5a Mon Sep 17 00:00:00 2001 From: shoopea Date: Sun, 13 Oct 2019 15:24:11 +0800 Subject: [PATCH] typo --- job.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/job.go b/job.go index e365519..3bbbd1c 100644 --- a/job.go +++ b/job.go @@ -946,7 +946,7 @@ func jobVaultItemStatus(j Job) { currentItemID64 = 0 for rows.Next() { - err = rows.Scan(&itemID64, &userID64, &deposit, &withdraw) + err = rows.Scan(&itemID64, &user, &deposit, &withdraw) logOnError(err, "jobVaultItemStatus : scan next val") if itemID64 != currentItemID64 { if currentItemID64 != 0 { @@ -972,7 +972,7 @@ func jobVaultItemStatus(j Job) { withdrawList = nil } - userList = append(userList, userID64) + userList = append(userList, user) depositList = append(depositList, deposit) withdrawList = append(withdrawList, withdraw) }