Commit fdd2761f authored by Mark Tyneway's avatar Mark Tyneway

op-chain-ops: fix build

parent 26e4e8cc
......@@ -197,17 +197,6 @@ func (bt *BatchTransaction) Signature() string {
return fmt.Sprintf("%s(%s)", bt.Method.Name, strings.Join(types, ","))
}
func buildFunctionSignature(input ContractInput) string {
if input.Type == "tuple" {
types := make([]string, len(input.Components))
for i, component := range input.Components {
types[i] = buildFunctionSignature(component)
}
return fmt.Sprintf("(%s)", strings.Join(types, ","))
}
return input.InternalType
}
// UnmarshalJSON will unmarshal a BatchTransaction from JSON.
func (b *BatchTransaction) UnmarshalJSON(data []byte) error {
var bt batchTransactionMarshaling
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment