aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJhih-Ming Huang <jm@byzantine-lab.io>2019-10-17 23:54:18 +0800
committerJhih-Ming Huang <jm@byzantine-lab.io>2019-10-17 23:54:18 +0800
commit38c83c2463df071e12a3ebf310bf38e6f088feb5 (patch)
tree9bbe34f179f355fd6703c6d6e6a013e1bfd1e814
parenta682bf2856b23893c86a00a9f83814312c246b4a (diff)
downloadgo-tangerine-38c83c2463df071e12a3ebf310bf38e6f088feb5.tar
go-tangerine-38c83c2463df071e12a3ebf310bf38e6f088feb5.tar.gz
go-tangerine-38c83c2463df071e12a3ebf310bf38e6f088feb5.tar.bz2
go-tangerine-38c83c2463df071e12a3ebf310bf38e6f088feb5.tar.lz
go-tangerine-38c83c2463df071e12a3ebf310bf38e6f088feb5.tar.xz
go-tangerine-38c83c2463df071e12a3ebf310bf38e6f088feb5.tar.zst
go-tangerine-38c83c2463df071e12a3ebf310bf38e6f088feb5.zip
Revert "add log for vm.config"
This reverts commit a682bf2856b23893c86a00a9f83814312c246b4a.
-rw-r--r--core/state_processor.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/core/state_processor.go b/core/state_processor.go
index c211d7a71..9edb6982c 100644
--- a/core/state_processor.go
+++ b/core/state_processor.go
@@ -17,8 +17,6 @@
package core
import (
- "fmt"
-
"github.com/tangerine-network/go-tangerine/common"
"github.com/tangerine-network/go-tangerine/consensus"
"github.com/tangerine-network/go-tangerine/consensus/misc"
@@ -88,7 +86,6 @@ func (p *StateProcessor) Process(block *types.Block, statedb *state.StateDB, cfg
// for the transaction, gas used and an error if the transaction failed,
// indicating the block was invalid.
func ApplyTransaction(config *params.ChainConfig, bc ChainContext, author *common.Address, gp *GasPool, statedb *state.StateDB, header *types.Header, tx *types.Transaction, usedGas *uint64, cfg vm.Config) (*types.Receipt, uint64, error) {
- fmt.Println("============= cfg", cfg)
msg, err := tx.AsMessage(types.MakeSigner(config, header.Number))
if err != nil {
return nil, 0, err