Skip to content

Commit 8a6586c

Browse files
committed
fix eth blockcypher.
1 parent fe6267c commit 8a6586c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

monitor/run.go

Lines changed: 1 addition & 1 deletion
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)