Skip to content

Commit

Permalink
Merge pull request #2 from jiangjinyuan/develop
Browse files Browse the repository at this point in the history
fix eth blockcypher.
  • Loading branch information
jiangjinyuan authored Sep 27, 2021
2 parents 49180a3 + 8a6586c commit b9fccc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion monitor/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ func (r *blockHeightMonitorRunner) GetExplorerBlockInfoByJSONFormat(pConf *explo
return result, err
}
result.Hash = hash.(string)
if pConf.Name == "blockcypher" {
if pConf.Coin == "eth" && pConf.Name == "blockcypher" {
result.Hash = "0x" + result.Hash
}

Expand Down

0 comments on commit b9fccc7

Please sign in to comment.