Use Password Specific to Web UI Instead of Wallet Password (#7569)

* use password specific to web UI

* fix up a few more tests

* tests passing

* gaz

* fix fmt
This commit is contained in:
Raul Jordan
2020-10-19 21:26:31 -05:00
committed by GitHub
parent 1bc86d2658
commit bec91d348e
24 changed files with 193 additions and 449 deletions

View File

@@ -14,7 +14,6 @@ type Wallet interface {
// Methods to retrieve wallet and accounts metadata.
AccountsDir() string
Password() string
SetPassword(newPass string)
// Read methods for important wallet and accounts-related files.
ReadEncryptedSeedFromDisk(ctx context.Context) (io.ReadCloser, error)
ReadFileAtPath(ctx context.Context, filePath string, fileName string) ([]byte, error)