Skip to content

Commit

Permalink
Fix a mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
Thunnini committed Oct 16, 2024
1 parent 5cbeed9 commit 9343a97
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/background/src/keyring-starknet/service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,9 @@ export class KeyRingStarknetService {
return true;
}
case "wallet_requestChainId": {
return currentChainId;
return shortString.encodeShortString(
currentChainId.replace("starknet:", "")
);
}
case "wallet_deploymentData": {
throw new Error("Not implemented");
Expand Down

0 comments on commit 9343a97

Please sign in to comment.