Skip to content
This repository has been archived by the owner on May 25, 2020. It is now read-only.

Commit

Permalink
remove useless log
Browse files Browse the repository at this point in the history
  • Loading branch information
thanhnguyennguyen committed Nov 11, 2019
1 parent 0f4e52b commit 30ff45f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tomox/tomox_state/orderitem.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ import (
"bytes"
"encoding/hex"
"fmt"
"github.com/globalsign/mgo/bson"
"github.com/tomochain/tomochain/common"
"github.com/tomochain/tomochain/core/state"
"github.com/tomochain/tomochain/crypto"
"github.com/tomochain/tomochain/crypto/sha3"
"github.com/tomochain/tomochain/log"
"github.com/globalsign/mgo/bson"
"math/big"
"strconv"
"time"
Expand Down Expand Up @@ -183,8 +183,8 @@ func (o *OrderItem) SetBSON(raw bson.Raw) error {
o.CreatedAt = decoded.CreatedAt
o.UpdatedAt = decoded.UpdatedAt
orderID, err := strconv.ParseInt(decoded.OrderID, 10, 64)
if err == nil {
fmt.Printf("%d of type %T", orderID, orderID)
if err != nil {
return err
}
o.OrderID = uint64(orderID)
o.Key = decoded.Key
Expand Down

0 comments on commit 30ff45f

Please sign in to comment.