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:
Pascal Precht 2019-07-08 20:45:13 +02:00 committed by Pascal Precht
parent 9390673ef4
commit 3f77272e71
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ class ContractFunction extends Component {
optionsCollapse: false, optionsCollapse: false,
functionCollapse: false, functionCollapse: false,
gasPriceCollapse: false, gasPriceCollapse: false,
value: -1, value: 0,
unitConvertError: null, unitConvertError: null,
unitConvertDirty: false unitConvertDirty: false
}; };