mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 02:12:23 +00:00
rm tracing.Backend
Signed-off-by: jsvisa <delweng@gmail.com>
This commit is contained in:
parent
9ae1444d48
commit
2f621cb724
1 changed files with 0 additions and 6 deletions
|
|
@ -183,7 +183,6 @@ type (
|
|||
)
|
||||
|
||||
type Hooks struct {
|
||||
Backend Backend
|
||||
// VM events
|
||||
OnTxStart TxStartHook
|
||||
OnTxEnd TxEndHook
|
||||
|
|
@ -209,11 +208,6 @@ type Hooks struct {
|
|||
OnLog LogHook
|
||||
}
|
||||
|
||||
// SetBackend sets a backend to the hooks, use this backend to read chain data.
|
||||
func (h *Hooks) SetBackend(backend Backend) {
|
||||
h.Backend = backend
|
||||
}
|
||||
|
||||
// BalanceChangeReason is used to indicate the reason for a balance change, useful
|
||||
// for tracing and reporting.
|
||||
type BalanceChangeReason byte
|
||||
|
|
|
|||
Loading…
Reference in a new issue