Skip to content

Commit

Permalink
comment out sendtransaction as it is not used
Browse files Browse the repository at this point in the history
  • Loading branch information
chenfengjin committed Aug 9, 2021
1 parent ccd1e79 commit 47c322b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion kernel/evm/evm.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ type EVMProxy interface {
func NewEVMProxy(manager contract.Manager) (EVMProxy, error) {
registry := manager.GetKernRegistry()
p := proxy{}
registry.RegisterKernMethod("$evm", "SendTransaction", p.sendTransaction)
// SendTransaction is not used currently
// registry.RegisterKernMethod("$evm", "SendTransaction", p.sendTransaction)
registry.RegisterKernMethod("$evm", "SendRawTransaction", p.sendRawTransaction)
registry.RegisterKernMethod("$evm", "ContractCall", p.ContractCall)
return &p, nil
Expand Down

0 comments on commit 47c322b

Please sign in to comment.