diff options
author | obscuren <geffobscura@gmail.com> | 2015-03-20 19:07:06 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-03-20 19:07:06 +0800 |
commit | 55fdf3e46272ec50a4d55f519b542df790920306 (patch) | |
tree | 34f5fdd4551b03a6c69f3639f3f1f715aa6d9b99 /core | |
parent | b4a51de6020ce0fdee47eb6c7d63a13647b7e3c4 (diff) | |
download | dexon-55fdf3e46272ec50a4d55f519b542df790920306.tar.gz dexon-55fdf3e46272ec50a4d55f519b542df790920306.tar.zst dexon-55fdf3e46272ec50a4d55f519b542df790920306.zip |
Listen to tx pre event and trigger 'pending'
Diffstat (limited to 'core')
-rw-r--r-- | core/filter.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/filter.go b/core/filter.go index 487e82902..0aebcbf69 100644 --- a/core/filter.go +++ b/core/filter.go @@ -34,7 +34,7 @@ type Filter struct { topics [][][]byte BlockCallback func(*types.Block, state.Logs) - PendingCallback func(*types.Block, state.Logs) + PendingCallback func(*types.Transaction) LogsCallback func(state.Logs) } |