summaryrefslogtreecommitdiffhomepage
path: root/keypair.go
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-05-13 18:23:40 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2018-05-13 18:26:09 +0200
commit2c27ab205c992d3387574aa6d57780744d35d36f (patch)
treee95bb88db16bac5d2050d3db13cd28570f44cd72 /keypair.go
parent233f079a9479279d2aab68f4accb139ee87ad664 (diff)
Rework index hashtable
Diffstat (limited to 'keypair.go')
-rw-r--r--keypair.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/keypair.go b/keypair.go
index 07a183d..6f6f7c0 100644
--- a/keypair.go
+++ b/keypair.go
@@ -44,6 +44,6 @@ func (kp *Keypairs) Current() *Keypair {
func (device *Device) DeleteKeypair(key *Keypair) {
if key != nil {
- device.indices.Delete(key.localIndex)
+ device.indexTable.Delete(key.localIndex)
}
}