mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 02:12:23 +00:00
Update light/odr_util.go
This commit is contained in:
parent
aa13265d90
commit
cb4b7596eb
1 changed files with 1 additions and 1 deletions
|
|
@ -262,7 +262,7 @@ func GetTxStatus(ctx context.Context, odr OdrBackend, txHash common.Hash) (core.
|
||||||
for _, tx := range bBody.Transactions {
|
for _, tx := range bBody.Transactions {
|
||||||
if tx.Hash() == r.TxHash {
|
if tx.Hash() == r.TxHash {
|
||||||
// Write into database if hash matched, link given hash to verified block hash and index
|
// Write into database if hash matched, link given hash to verified block hash and index
|
||||||
r.StoreResult(odr.Database())
|
rawdb.WriteTxLookupEntry(odr.Database(), r.TxEntry, r.TxHash)
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue