Skip to content

Commit 280e002

Browse files
use ed25519 key for dialog
1 parent a95521e commit 280e002

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

flutter/flutter_solana_example/lib/home_screen.dart

+2-1
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,8 @@ class _HomeScreenState extends State<HomeScreen> {
125125
verticalGap,
126126
OutlinedButton(
127127
onPressed: () async {
128-
final privateKey = await Web3AuthFlutter.getPrivKey();
128+
final privateKey =
129+
await Web3AuthFlutter.getEd25519PrivKey();
129130
if (context.mounted) {
130131
copyContentToClipboard(context, privateKey);
131132
}

0 commit comments

Comments
 (0)