Skip to content

Commit

Permalink
Fixed a big bug
Browse files Browse the repository at this point in the history
Previously the loafwallet-core geenrated new addresses using BRWalletReceiveAddress.description
But this stopped generating an address
Used a new method to take a char array and converting it to a LTC Address (a string)

Signed-off-by: kcw-grunt <[email protected]>
  • Loading branch information
kcw-grunt committed Jan 18, 2024
1 parent 3b74393 commit 95e549c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion litewallet/BRWallet.swift
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class BRWallet {

// the first unused external address
var receiveAddress: String {
return BRWalletReceiveAddress(cPtr).description
return charInt8ToString(charArray: BRWalletReceiveAddress(cPtr).s)
}

// all previously genereated internal and external addresses
Expand Down

0 comments on commit 95e549c

Please sign in to comment.