This commit is contained in:
Yaroslav Dmytrotsa 2015-08-12 11:10:04 +03:00
parent ab5cdfccb8
commit eedf40ae0a
4 changed files with 8 additions and 8 deletions

View File

@ -34,7 +34,7 @@ public final class JsonRpcServer extends org.ethereum.android.jsonrpc.JsonRpcSer
this.dispatcher = new Dispatcher(); this.dispatcher = new Dispatcher();
// Custom methods to receive Address Transaction History // Custom methods to receive Address Transaction History
this.dispatcher.register(new eth_transactionHistory(this.ethereum)); this.dispatcher.register(new eth_getTransactionHistory(this.ethereum));
this.dispatcher.register(new web3_clientVersion(this.ethereum)); this.dispatcher.register(new web3_clientVersion(this.ethereum));
this.dispatcher.register(new web3_sha3(this.ethereum)); this.dispatcher.register(new web3_sha3(this.ethereum));

View File

@ -18,9 +18,9 @@ import java.net.URL;
import java.util.List; import java.util.List;
public class eth_transactionHistory extends JsonRpcServerMethod { public class eth_getTransactionHistory extends JsonRpcServerMethod {
public eth_transactionHistory(Ethereum ethereum) { public eth_getTransactionHistory(Ethereum ethereum) {
super(ethereum); super(ethereum);
} }

View File

@ -37,14 +37,14 @@ public final class JsonRpcServer extends org.ethereum.android.jsonrpc.JsonRpcSer
this.dispatcher = new Dispatcher(); this.dispatcher = new Dispatcher();
// Custom methods to receive Address Transaction History
this.dispatcher.register(new eth_getTransactionHistory(this.ethereum));
this.dispatcher.register(new eth_coinbase(this.ethereum)); this.dispatcher.register(new eth_coinbase(this.ethereum));
this.dispatcher.register(new eth_accounts(this.ethereum)); this.dispatcher.register(new eth_accounts(this.ethereum));
this.dispatcher.register(new eth_sign(this.ethereum)); this.dispatcher.register(new eth_sign(this.ethereum));
this.dispatcher.register(new eth_sendTransaction(this.ethereum)); this.dispatcher.register(new eth_sendTransaction(this.ethereum));
// Custom methods to receive Address Transaction History
this.dispatcher.register(new eth_transactionHistory(this.ethereum));
this.dispatcher.register(new shh_version(this.ethereum)); this.dispatcher.register(new shh_version(this.ethereum));
this.dispatcher.register(new shh_post(this.ethereum)); this.dispatcher.register(new shh_post(this.ethereum));
this.dispatcher.register(new shh_newIdentity(this.ethereum)); this.dispatcher.register(new shh_newIdentity(this.ethereum));

View File

@ -23,9 +23,9 @@ import java.util.ArrayList;
import java.util.List; import java.util.List;
public class eth_transactionHistory extends JsonRpcServerMethod { public class eth_getTransactionHistory extends JsonRpcServerMethod {
public eth_transactionHistory(Ethereum ethereum) { public eth_getTransactionHistory(Ethereum ethereum) {
super(ethereum); super(ethereum);
} }