mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 02:12:23 +00:00
clean runtime
This commit is contained in:
parent
79f6484d3a
commit
3eab46ee8c
1 changed files with 4 additions and 2 deletions
|
|
@ -14,6 +14,7 @@ _ "github.com/lib/pq"
|
||||||
"github.com/ethereum/go-ethereum/core/types"
|
"github.com/ethereum/go-ethereum/core/types"
|
||||||
Rewards "github.com/ethereum/go-ethereum/consensus/ethash"
|
Rewards "github.com/ethereum/go-ethereum/consensus/ethash"
|
||||||
"github.com/ethereum/go-ethereum/shyfttracerinterface"
|
"github.com/ethereum/go-ethereum/shyfttracerinterface"
|
||||||
|
"reflect"
|
||||||
)
|
)
|
||||||
|
|
||||||
var IShyftTracer shyfttracerinterface.IShyftTracer
|
var IShyftTracer shyfttracerinterface.IShyftTracer
|
||||||
|
|
@ -173,10 +174,11 @@ func SwriteTransactions(sqldb *sql.DB, tx *types.Transaction, blockHash common.H
|
||||||
}
|
}
|
||||||
|
|
||||||
hash := txData.TxHash
|
hash := txData.TxHash
|
||||||
|
fmt.Println(reflect.TypeOf(hash))
|
||||||
txHash := txData.TxHash.Hex()
|
txHash := txData.TxHash.Hex()
|
||||||
|
|
||||||
prayer, _ := IShyftTracer.GetTracerToRun(hash)
|
//prayer, _ := IShyftTracer.GetTracerToRun(hash)
|
||||||
fmt.Printf("%+v\n", prayer)
|
//fmt.Printf("%+v\n", prayer)
|
||||||
|
|
||||||
//var stack *node.Node
|
//var stack *node.Node
|
||||||
//var cfg *eth.Config
|
//var cfg *eth.Config
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue