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
0b290b0b
Commit
0b290b0b
authored
Mar 30, 2018
by
Iuri Matias
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
return transaction hash when processing a transaction
parent
43ede5bd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
provider.js
src/provider.js
+1
-2
No files found.
src/provider.js
View file @
0b290b0b
...
@@ -83,10 +83,9 @@ function processTx(accounts, payload, callback) {
...
@@ -83,10 +83,9 @@ function processTx(accounts, payload, callback) {
console
.
log
(
"called final callback"
)
console
.
log
(
"called final callback"
)
console
.
dir
(
result
)
console
.
dir
(
result
)
//
callback(null, jsonRPCResponse(payload.id, result.transactionHash))
callback
(
null
,
jsonRPCResponse
(
payload
.
id
,
result
.
transactionHash
))
}
}
//TxExecution.createContract(from, data, value, gasLimit, txRunner, callbacks, finalCallback);
TxExecution
.
callFunction
(
from
,
to
,
data
,
value
,
gasLimit
,
null
,
txRunner
,
callbacks
,
finalCallback
)
TxExecution
.
callFunction
(
from
,
to
,
data
,
value
,
gasLimit
,
null
,
txRunner
,
callbacks
,
finalCallback
)
}
else
{
}
else
{
console
.
dir
(
"== contract creation"
);
console
.
dir
(
"== contract creation"
);
...
...
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