mirror of
https://github.com/tendermint/tendermint.git
synced 2026-09-19 06:31:57 +00:00
Update tmlibs to sdk-develop, fix broken test
This commit is contained in:
+1
-2
@@ -86,8 +86,7 @@ func (kb dbKeybase) Recover(name, passphrase, seedphrase string) (Info, error) {
|
||||
// List loads the keys from the storage and enforces alphabetical order
|
||||
func (kb dbKeybase) List() ([]Info, error) {
|
||||
var res []Info
|
||||
var more = true
|
||||
for iter := kb.db.Iterator(); more; more = iter.Next() {
|
||||
for iter := kb.db.Iterator(); iter.Valid(); iter.Next() {
|
||||
key := iter.Key()
|
||||
if isPub(key) {
|
||||
info, err := readInfo(iter.Value())
|
||||
|
||||
Reference in New Issue
Block a user