forked from cerc-io/laconicd-deprecated
tests: eth_sendRawTx (#804)
* tests: eth_sendRawTx * update tests * rm println
This commit is contained in:
@@ -61,8 +61,7 @@ func (s *CompiledContract) UnmarshalJSON(data []byte) error {
|
||||
|
||||
s.Bin = x.Bin
|
||||
if err := json.Unmarshal([]byte(x.ABI), &s.ABI); err != nil {
|
||||
fmt.Println("unmarshal abi fail", x.ABI, string(data))
|
||||
return err
|
||||
return fmt.Errorf("failed to unmarshal ABI: %w", err)
|
||||
}
|
||||
|
||||
return nil
|
||||
|
||||
Reference in New Issue
Block a user