We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3848038 commit 4fdf4adCopy full SHA for 4fdf4ad
libs/remix-ui/run-tab/src/lib/components/contractGUI.tsx
@@ -62,13 +62,7 @@ export function ContractGUI (props: ContractGUIProps) {
62
return 'cannot encode empty arguments'
63
}
64
const multiJSON = JSON.parse('[' + multiString + ']')
65
- let encodeObj
66
-
67
- if (props.evmBC) {
68
- encodeObj = txFormat.encodeData(props.funcABI, multiJSON, props.evmBC)
69
- } else {
70
- encodeObj = txFormat.encodeData(props.funcABI, multiJSON, null)
71
- }
+ const encodeObj = txFormat.encodeData(props.funcABI, multiJSON, null)
72
if (encodeObj.error) {
73
console.error(encodeObj.error)
74
return encodeObj.error
0 commit comments