Skip to content

Commit

Permalink
change where we save reserved keys
Browse files Browse the repository at this point in the history
  • Loading branch information
dholms committed Nov 1, 2023
1 parent 4ba1e95 commit 690886b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/pds/src/actor-store/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import os from 'os'
import path from 'path'
import fs from 'fs/promises'
import * as crypto from '@atproto/crypto'
Expand Down Expand Up @@ -65,8 +64,7 @@ export class ActorStore {
return crypto.Secp256k1Keypair.import(privKey)
},
})
this.reservedKeyDir =
resources.reservedKeyDir ?? path.join(os.tmpdir(), 'reserved_keys')
this.reservedKeyDir = path.join(cfg.directory, 'reserved_keys')
}

async getLocation(did: string) {
Expand Down

0 comments on commit 690886b

Please sign in to comment.