mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-26 14:46:42 +00:00
parent
2ec3fd7d00
commit
e1dde04eb2
1 changed files with 3 additions and 3 deletions
|
|
@ -19,10 +19,10 @@ package api
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"io"
|
"io"
|
||||||
|
"net/http"
|
||||||
"regexp"
|
"regexp"
|
||||||
"strings"
|
"strings"
|
||||||
"sync"
|
"sync"
|
||||||
"net/http"
|
|
||||||
|
|
||||||
"github.com/ethereum/go-ethereum/common"
|
"github.com/ethereum/go-ethereum/common"
|
||||||
"github.com/ethereum/go-ethereum/logger"
|
"github.com/ethereum/go-ethereum/logger"
|
||||||
|
|
@ -156,9 +156,9 @@ func (self *Api) Get(uri string, nameresolver bool) (reader storage.LazySectionR
|
||||||
}
|
}
|
||||||
|
|
||||||
glog.V(logger.Detail).Infof("getEntry(%s)", path)
|
glog.V(logger.Detail).Infof("getEntry(%s)", path)
|
||||||
|
|
||||||
entry, _ := trie.getEntry(path)
|
entry, _ := trie.getEntry(path)
|
||||||
|
|
||||||
if entry != nil {
|
if entry != nil {
|
||||||
key = common.Hex2Bytes(entry.Hash)
|
key = common.Hex2Bytes(entry.Hash)
|
||||||
status = entry.Status
|
status = entry.Status
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue