delete the never used function ProofList

This commit is contained in:
maskpp 2024-06-20 09:20:38 +08:00 committed by Gary Rong
parent a2fc0b0d07
commit df115944d3

View file

@ -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()