Skip to content
This repository has been archived by the owner on Sep 13, 2024. It is now read-only.

web3contract send function incorrect error #25

Closed
6epreu opened this issue Mar 18, 2018 · 1 comment
Closed

web3contract send function incorrect error #25

6epreu opened this issue Mar 18, 2018 · 1 comment

Comments

@6epreu
Copy link

6epreu commented Mar 18, 2018

extension web3.web3contract

// this is from send function
if (mergedOptions.gasLimit! > estimatedGasResult.value!) {
    return Result.failure(Web3Error.inputError("Estimated gas is larger than the gas limit"))
}

I think this is a mistake in comparison.
Comparison mark should be less then.

@shamatar
Copy link
Contributor

Yes, I've pushed a fix in 0.3.4

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants