Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
baas-ide
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
guxukai
baas-ide
Commits
b2c7c5c6
Unverified
Commit
b2c7c5c6
authored
Nov 14, 2018
by
yann300
Committed by
GitHub
Nov 14, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1605 from Tenderly/plugin-txlistener-web3
Transaction broadcast support to other plugins for web3
parents
526fcf24
a8c369c7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
pluginManager.js
src/app/plugin/pluginManager.js
+0
-2
No files found.
src/app/plugin/pluginManager.js
View file @
b2c7c5c6
'use strict'
'use strict'
var
remixLib
=
require
(
'remix-lib'
)
var
remixLib
=
require
(
'remix-lib'
)
var
EventManager
=
remixLib
.
EventManager
var
EventManager
=
remixLib
.
EventManager
var
executionContext
=
require
(
'../../execution-context'
)
const
PluginAPI
=
require
(
'./pluginAPI'
)
const
PluginAPI
=
require
(
'./pluginAPI'
)
/**
/**
* Register and Manage plugin:
* Register and Manage plugin:
...
@@ -112,7 +111,6 @@ module.exports = class PluginManager {
...
@@ -112,7 +111,6 @@ module.exports = class PluginManager {
})
})
txlistener
.
event
.
register
(
'newTransaction'
,
(
tx
)
=>
{
txlistener
.
event
.
register
(
'newTransaction'
,
(
tx
)
=>
{
if
(
executionContext
.
getProvider
()
!==
'vm'
)
return
self
.
broadcast
(
JSON
.
stringify
({
self
.
broadcast
(
JSON
.
stringify
({
action
:
'notification'
,
action
:
'notification'
,
key
:
'txlistener'
,
key
:
'txlistener'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment