Skip to content

Commit 3d57a1a

Browse files
authored
feat/remove hardcore gas price when sending txs (#24)
1 parent 289b289 commit 3d57a1a

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

pkg/task/task_sender.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ import (
1515
dbTask "github.com/ronin-chain/ronin-random-beacon/pkg/db/task"
1616
"github.com/ronin-chain/ronin-random-beacon/pkg/event"
1717
"github.com/ronin-chain/ronin-random-beacon/pkg/listener"
18-
"github.com/ronin-chain/ronin-random-beacon/pkg/utils"
1918
)
2019

2120
type TaskSender struct {
@@ -112,7 +111,6 @@ func (w *TaskSender) sendTasks() error {
112111

113112
updatingTask := task.Update()
114113

115-
w.coordinator.TransactOpts.GasPrice = utils.ConvertStringToBigInt("20000000000")
116114
tx, err := w.coordinator.FulfillRandomSeed(params.Req, params.Proof)
117115
if err != nil {
118116
log.Error("[TaskSender][sendTasks] got error on sending task", "taskId", task.ID, "err", err)

0 commit comments

Comments
 (0)