fix
This commit is contained in:
parent
ab5cdfccb8
commit
eedf40ae0a
|
@ -34,7 +34,7 @@ public final class JsonRpcServer extends org.ethereum.android.jsonrpc.JsonRpcSer
|
|||
this.dispatcher = new Dispatcher();
|
||||
|
||||
// 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_sha3(this.ethereum));
|
||||
|
|
|
@ -18,9 +18,9 @@ import java.net.URL;
|
|||
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);
|
||||
}
|
||||
|
|
@ -37,14 +37,14 @@ public final class JsonRpcServer extends org.ethereum.android.jsonrpc.JsonRpcSer
|
|||
|
||||
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_accounts(this.ethereum));
|
||||
this.dispatcher.register(new eth_sign(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_post(this.ethereum));
|
||||
this.dispatcher.register(new shh_newIdentity(this.ethereum));
|
||||
|
|
|
@ -23,9 +23,9 @@ import java.util.ArrayList;
|
|||
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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue