Skip to content

Commit

Permalink
Fix setup/idreservoir.go
Browse files Browse the repository at this point in the history
  • Loading branch information
Darkren committed Nov 7, 2019
1 parent f795df5 commit cb1f2a9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/setup/idreservoir.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package setup
import (
"context"
"encoding/json"
"errors"
"fmt"
"sync"

Expand All @@ -13,6 +14,8 @@ import (
"github.com/SkycoinProject/skywire-mainnet/pkg/routing"
)

var ErrNoKey = errors.New("id reservoir has no key")

type idReservoir struct {
rec map[cipher.PubKey]uint8
ids map[cipher.PubKey][]routing.RouteID
Expand Down

0 comments on commit cb1f2a9

Please sign in to comment.