diff --git a/pkg/provider/icbc/parse.go b/pkg/provider/icbc/parse.go index 4b91d44..4e38efc 100644 --- a/pkg/provider/icbc/parse.go +++ b/pkg/provider/icbc/parse.go @@ -53,7 +53,7 @@ func (icbc *Icbc) translateToOrders(array []string) error { bill.Balances, _ = strconv.ParseFloat(strings.ReplaceAll(array[11], ",", ""), 64) bill.PeerAccountName = array[12] case DebitMode: - debitBillVersion := 1 + var debitBillVersion int32 if len(array) == 14 { debitBillVersion = 1 } else if len(array) == 16 {