diff --git a/example/Dev.tsx b/example/Dev.tsx index 442b600c..d8086f3f 100644 --- a/example/Dev.tsx +++ b/example/Dev.tsx @@ -720,7 +720,15 @@ const Dev = (): ReactElement => { return; } - setMessage('Successfully restored wallet'); + const setupResponse = await setupLdk(); + if (setupResponse.isErr()) { + setMessage(setupResponse.error.message); + return; + } + + setNodeStarted(true); + + setMessage('Successfully restored and started wallet'); }} />