Skip to content

couple changes #1

@honorkeles

Description

@honorkeles

I am hoping to build the pool with your script. I want to add a small entry. you need to add below before "make" for the pool.

in rpc.go you need to change line 15 from "github.com/ethereum/go-ethereum/common" TO "github.com/ethereum/go-ethereum/common/hexutil"
Then on line 180 change
rpcResp, err := r.doPost(r.Url, "eth_sign", []string{from, common.ToHex(hash[:])})
TO:
rpcResp, err := r.doPost(r.Url, "eth_sign", []string{from, hexutil.Encode(hash[:])})

In util.go line 10 add: "github.com/ethereum/go-ethereum/common/hexutil"

line 38 change
return string(common.ToHex(diff1.Bytes()))
TO:
return string(hexutil.Encode(diff1.Bytes()))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions