mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 10:22:23 +00:00
delete the never used function ProofList
This commit is contained in:
parent
a2fc0b0d07
commit
df115944d3
1 changed files with 0 additions and 12 deletions
|
|
@ -114,18 +114,6 @@ func (db *ProofSet) ByteList() [][]byte {
|
||||||
return values
|
return values
|
||||||
}
|
}
|
||||||
|
|
||||||
// ProofList converts the node set to a ProofList
|
|
||||||
func (db *ProofSet) ProofList() ProofList {
|
|
||||||
db.lock.RLock()
|
|
||||||
defer db.lock.RUnlock()
|
|
||||||
|
|
||||||
var values = make(ProofList, len(db.order))
|
|
||||||
for i, key := range db.order {
|
|
||||||
values[i] = db.nodes[key]
|
|
||||||
}
|
|
||||||
return values
|
|
||||||
}
|
|
||||||
|
|
||||||
// Store writes the contents of the set to the given database
|
// Store writes the contents of the set to the given database
|
||||||
func (db *ProofSet) Store(target ethdb.KeyValueWriter) {
|
func (db *ProofSet) Store(target ethdb.KeyValueWriter) {
|
||||||
db.lock.RLock()
|
db.lock.RLock()
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue