Investigating LoadKeysIncompat (amend instead)

This commit is contained in:
Haris Khan
2024-09-15 15:17:33 -04:00
parent 59bffea3f3
commit ada0d39af4

View File

@ -167,7 +167,7 @@ func Test_KeyGenerationAndHandling(t *testing.T) {
} }
t.Run("LoadKeysIncompat", func(t *testing.T) { t.Run("LoadKeysIncompat", func(t *testing.T) {
//extract keys //extract keys
addr := keys.Addr() addr := keys.Address
fmt.Println(addr) fmt.Println(addr)
//both := removeNewlines(keys.Both) //both := removeNewlines(keys.Both)
@ -175,7 +175,7 @@ func Test_KeyGenerationAndHandling(t *testing.T) {
fmt.Println(both) fmt.Println(both)
//FORMAT TO LOAD: (Address, Both) //FORMAT TO LOAD: (Address, Both)
addrload := addr.String() + "\n" + both addrload := addr.Base64() + "\n" + both
r := strings.NewReader(addrload) r := strings.NewReader(addrload)
loadedKeys, err := LoadKeysIncompat(r) loadedKeys, err := LoadKeysIncompat(r)