Skip to content

Commit 47c322b

Browse files
author
chenfengjin
committed
comment out sendtransaction as it is not used
1 parent ccd1e79 commit 47c322b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

kernel/evm/evm.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ type EVMProxy interface {
2525
func NewEVMProxy(manager contract.Manager) (EVMProxy, error) {
2626
registry := manager.GetKernRegistry()
2727
p := proxy{}
28-
registry.RegisterKernMethod("$evm", "SendTransaction", p.sendTransaction)
28+
// SendTransaction is not used currently
29+
// registry.RegisterKernMethod("$evm", "SendTransaction", p.sendTransaction)
2930
registry.RegisterKernMethod("$evm", "SendRawTransaction", p.sendRawTransaction)
3031
registry.RegisterKernMethod("$evm", "ContractCall", p.ContractCall)
3132
return &p, nil

0 commit comments

Comments
 (0)