Skip to content

Commit

Permalink
fix address (#255)
Browse files Browse the repository at this point in the history
  • Loading branch information
acedward authored Nov 15, 2023
1 parent 9427cc5 commit 7b95a46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/paima-sdk/paima-providers/src/evm/injected.ts
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ export class EvmInjectedProvider implements IProvider<EvmApi> {
const hexMessage = utf8ToHex(message);
const signature = await this.conn.api.request({
method: 'personal_sign',
params: [hexMessage, this.getAddress(), ''],
params: [hexMessage, this.getAddress().address, ''],
});
if (typeof signature !== 'string') {
console.log('[signMessageEth] invalid signature:', signature);
Expand Down

0 comments on commit 7b95a46

Please sign in to comment.