Skip to content

Commit

Permalink
ticketPrice() now need a blockNumber argument
Browse files Browse the repository at this point in the history
  • Loading branch information
zongyuan committed Apr 30, 2019
1 parent ef03add commit b64b0a1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions internal/web3ext/web3ext.go
Original file line number Diff line number Diff line change
Expand Up @@ -906,8 +906,9 @@ web3._extend({
new web3._extend.Method({
name: 'ticketPrice',
call: 'fsn_ticketPrice',
params: 0,
params: 1,
inputFormatter: [
web3._extend.formatters.inputDefaultBlockNumberFormatter
]
}),
new web3._extend.Method({
Expand Down Expand Up @@ -1089,8 +1090,9 @@ web3._extend({
new web3._extend.Method({
name: 'ticketPrice',
call: 'fsn_ticketPrice',
params: 0,
params: 1,
inputFormatter: [
web3._extend.formatters.inputDefaultBlockNumberFormatter
]
}),
new web3._extend.Method({
Expand Down

0 comments on commit b64b0a1

Please sign in to comment.