aboutsummaryrefslogtreecommitdiffstats
path: root/keypair.go
diff options
context:
space:
mode:
Diffstat (limited to '')
-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)
}
}