Skip to content

Commit b9fccc7

Browse files
authored
Merge pull request #2 from jiangjinyuan/develop
fix eth blockcypher.
2 parents 49180a3 + 8a6586c commit b9fccc7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

monitor/run.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ func (r *blockHeightMonitorRunner) GetExplorerBlockInfoByJSONFormat(pConf *explo
197197
return result, err
198198
}
199199
result.Hash = hash.(string)
200-
if pConf.Name == "blockcypher" {
200+
if pConf.Coin == "eth" && pConf.Name == "blockcypher" {
201201
result.Hash = "0x" + result.Hash
202202
}
203203

0 commit comments

Comments
 (0)