Skip to content

Commit

Permalink
fix kaspa tolower
Browse files Browse the repository at this point in the history
  • Loading branch information
shuaishuai.si committed Aug 21, 2024
1 parent aaebbd8 commit ef4563b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/coin-kaspa/src/KaspaWallet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ export class KaspaWallet extends BaseWallet {

async getNewAddress(param: NewAddressParams): Promise<any> {
return Promise.resolve({
address: addressFromPrvKey(param.privateKey),
publicKey: pubKeyFromPrvKey(param.privateKey),
address: addressFromPrvKey(param.privateKey.toLowerCase()),
publicKey: pubKeyFromPrvKey(param.privateKey.toLowerCase()),
});
}

Expand Down

0 comments on commit ef4563b

Please sign in to comment.