Commit 090820da authored by vicotor's avatar vicotor

update log

parent 4d5b0407
...@@ -318,7 +318,7 @@ func isFromInBlacklist(addr string) bool { ...@@ -318,7 +318,7 @@ func isFromInBlacklist(addr string) bool {
func dumpRequestInfo(req RPCRequest, ip string) { func dumpRequestInfo(req RPCRequest, ip string) {
switch req.Method { switch req.Method {
case "eth_sendTransaction": case "eth_sendRawTransaction":
// get rawtx and unmarshal to get from and to. // get rawtx and unmarshal to get from and to.
if rawHex, ok := req.Params[0].(string); ok { if rawHex, ok := req.Params[0].(string); ok {
if txArgs, ok := getEthTx(rawHex); ok { if txArgs, ok := getEthTx(rawHex); ok {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment