diff --git a/kernel/evm/evm.go b/kernel/evm/evm.go index 0b0f475be..ce0978e91 100644 --- a/kernel/evm/evm.go +++ b/kernel/evm/evm.go @@ -146,14 +146,6 @@ func (p *proxy) sendRawTransaction(ctx contract.KContext) (*contract.Response, e if len(rawTx.Data) == 0 { from := pub.GetAddress() - //xfrom, err := evm.EVMAddressToXchain(from) - //if err != nil { - // return nil, err - //} - //xto, err := evm.EVMAddressToXchain(to) - //if err != nil { - // return nil, err - //} amount := balance.WeiToNative(rawTx.Value) if err := ctx.Transfer(from.String(), to.String(), amount); err != nil {