mirror of https://github.com/embarklabs/embark.git
fix(@cockpit): don't send invalid value to Smart Contract methods
We've introduced a regression in 536a4029ba
where the default
`value` sent to payable Smart Contract methods is `-1`, resulting in errors as it's not
a valid value.
This commit is contained in:
parent
9390673ef4
commit
3f77272e71
|
@ -37,7 +37,7 @@ class ContractFunction extends Component {
|
|||
optionsCollapse: false,
|
||||
functionCollapse: false,
|
||||
gasPriceCollapse: false,
|
||||
value: -1,
|
||||
value: 0,
|
||||
unitConvertError: null,
|
||||
unitConvertDirty: false
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue