From cdd653fd663f6550536e10f8b8b701327b2e88c7 Mon Sep 17 00:00:00 2001 From: "yenlin.lai" Date: Thu, 21 Mar 2019 16:20:57 +0800 Subject: misc: replace shopspring/decimal with our fork --- core/vm/sqlvm/ast/ast.go | 3 ++- core/vm/sqlvm/ast/types.go | 2 +- core/vm/sqlvm/ast/types_test.go | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) (limited to 'core/vm/sqlvm/ast') diff --git a/core/vm/sqlvm/ast/ast.go b/core/vm/sqlvm/ast/ast.go index d5ebb35af..a2f0748f5 100644 --- a/core/vm/sqlvm/ast/ast.go +++ b/core/vm/sqlvm/ast/ast.go @@ -3,8 +3,9 @@ package ast import ( "fmt" + "github.com/dexon-foundation/decimal" + "github.com/dexon-foundation/dexon/core/vm/sqlvm/errors" - "github.com/shopspring/decimal" ) // --------------------------------------------------------------------------- diff --git a/core/vm/sqlvm/ast/types.go b/core/vm/sqlvm/ast/types.go index ee8036576..53f3217a0 100644 --- a/core/vm/sqlvm/ast/types.go +++ b/core/vm/sqlvm/ast/types.go @@ -6,7 +6,7 @@ import ( "math" "math/big" - "github.com/shopspring/decimal" + "github.com/dexon-foundation/decimal" "github.com/dexon-foundation/dexon/common" dec "github.com/dexon-foundation/dexon/core/vm/sqlvm/common/decimal" diff --git a/core/vm/sqlvm/ast/types_test.go b/core/vm/sqlvm/ast/types_test.go index d2051c4b5..accbbe741 100644 --- a/core/vm/sqlvm/ast/types_test.go +++ b/core/vm/sqlvm/ast/types_test.go @@ -4,7 +4,7 @@ import ( "database/sql" "testing" - "github.com/shopspring/decimal" + "github.com/dexon-foundation/decimal" "github.com/stretchr/testify/suite" "github.com/dexon-foundation/dexon/common" -- cgit v1.2.3