miner address incorrect
Closed this issue · 3 comments
Keith-CY commented
As mentioned in the README
miner = Ckb::Wallet.from_hex(Ckb::Api.new, "e79f3207ea4980b7fed79956d5934249ceac4751a4fae01a0f7c4a96884bc4e3")
expect miner.address
to be 0xcf7294651a9e2033243b04cfd3fa35097d56b811824691a75cd29d50ac23720a
, but 6c5b2cd24ce7cbc16ff368d116294b3c8e5e4f33197900396e9a35d52d8c0f83"
received.
ashchan commented
A few things to check:
- Have latest
argv_source_entry
binary (download, don't build it yourself). - Update your CKB node config to have
0xd7abc1407eb07d334fea86ef0e9b12b2273833137327c2a53f2d8ba1be1e4d85
0xcf7294651a9e2033243b04cfd3fa35097d56b811824691a75cd29d50ac23720a
as miner type hash. - Get latest CKB source code from
develop
HEAD andcargo build
it.
Keith-CY commented
- use latest
argv_source_entry
- update
ckb
and set0xcf7294651a9e2033243b04cfd3fa35097d56b811824691a75cd29d50ac23720a
tominer.type_hash
- build again
still get 0x6c5b2cd24ce7cbc16ff368d116294b3c8e5e4f33197900396e9a35d52d8c0f83
from pk of e79f3207ea4980b7fed79956d5934249ceac4751a4fae01a0f7c4a96884bc4e3