Skip to content

Commit

Permalink
enlarge gas limit (#142)
Browse files Browse the repository at this point in the history
  • Loading branch information
CoderZhi authored Feb 22, 2020
1 parent e8ba4f0 commit cedab1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion votesync/votesync.go
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ func (vc *VoteSync) claimForClerk() error {

func (vc *VoteSync) updateVotingPowers(addrs []common.Address, weights []*big.Int) error {
caller := vc.vpsContract.Execute("updateVotingPowers", addrs, weights).
SetGasPrice(big.NewInt(int64(1 * unit.Qev))).SetGasLimit(5000000)
SetGasPrice(big.NewInt(int64(1 * unit.Qev))).SetGasLimit(7000000)
return wait.Wait(context.Background(), caller)
}

Expand Down

0 comments on commit cedab1b

Please sign in to comment.