Skip to content

Commit

Permalink
fix(@cockpit): don't send invalid value to Smart Contract methods
Browse files Browse the repository at this point in the history
We've introduced a regression in 536a402 where the default
`value` sent to payable Smart Contract methods is `-1`, resulting in errors as it's not
a valid value.
  • Loading branch information
0x-r4bbit committed Jul 9, 2019
1 parent 9390673 commit 3f77272
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/embark-ui/src/components/ContractOverview.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class ContractFunction extends Component {
optionsCollapse: false,
functionCollapse: false,
gasPriceCollapse: false,
value: -1,
value: 0,
unitConvertError: null,
unitConvertDirty: false
};
Expand Down

0 comments on commit 3f77272

Please sign in to comment.