From 740721253cad39bc9d76c872ddfdc55a98304518 Mon Sep 17 00:00:00 2001 From: Tomasz Slabon Date: Mon, 10 Jun 2024 11:22:42 +0200 Subject: [PATCH] Renamed variable --- pkg/tbtc/registry.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 "+