Change wire.BlockHeader.BlockSha() to .BlockHash, to match btcd #729 (#65)

see https://github.com/btcsuite/btcd/pull/729
This commit is contained in:
Bob Feldbauer 2017-01-16 17:04:40 -05:00 committed by Tanguy Pruvot
parent 9121aa8f23
commit 83b9858d24

View file

@ -47,7 +47,7 @@ func main() {
var bhead wire.BlockHeader
err := bhead.Deserialize(bytes.NewReader(blockHeader))
if err == nil {
str := bhead.BlockSha().String();
str := bhead.BlockHash().String();
args := []string{ stratumDest, coinId, str }
out, err := exec.Command(processName, args...).Output()
if err != nil {