Skip to content

Commit 7407212

Browse files
committed
Renamed variable
1 parent cddb143 commit 7407212

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/tbtc/registry.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -238,8 +238,8 @@ func (ws *walletStorage) saveSigner(signer *signer) error {
238238

239239
// archiveWallet archives the given wallet data in the underlying persistence
240240
// layer of the walletStorage.
241-
func (ws *walletStorage) archiveWallet(walletStoragePath string) error {
242-
err := ws.persistence.Archive(walletStoragePath)
241+
func (ws *walletStorage) archiveWallet(walletStorageKey string) error {
242+
err := ws.persistence.Archive(walletStorageKey)
243243
if err != nil {
244244
return fmt.Errorf(
245245
"could not archive wallet storage using the "+

0 commit comments

Comments
 (0)