diff --git a/pkg/tbtc/registry.go b/pkg/tbtc/registry.go index 4c81938de9..b6b2381ee4 100644 --- a/pkg/tbtc/registry.go +++ b/pkg/tbtc/registry.go @@ -238,8 +238,8 @@ func (ws *walletStorage) saveSigner(signer *signer) error { // archiveWallet archives the given wallet data in the underlying persistence // layer of the walletStorage. -func (ws *walletStorage) archiveWallet(walletStoragePath string) error { - err := ws.persistence.Archive(walletStoragePath) +func (ws *walletStorage) archiveWallet(walletStorageKey string) error { + err := ws.persistence.Archive(walletStorageKey) if err != nil { return fmt.Errorf( "could not archive wallet storage using the "+