Rework index hashtable
This commit is contained in:
parent
233f079a94
commit
2c27ab205c
8 changed files with 78 additions and 88 deletions
|
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue