From 11f92df0ba1660e5ce9fdf8a3dce10ab8ead9b5e Mon Sep 17 00:00:00 2001 From: Franck Royer Date: Thu, 17 Jun 2021 16:23:11 +1000 Subject: [PATCH] Use light push instead of relay See #209. --- examples/eth-dm/src/App.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/eth-dm/src/App.tsx b/examples/eth-dm/src/App.tsx index 9b8ad430c5..b9c48b5ce1 100644 --- a/examples/eth-dm/src/App.tsx +++ b/examples/eth-dm/src/App.tsx @@ -133,7 +133,7 @@ function App() { publicKey, address ); - await waku?.relay.send(msg); + await waku?.lightPush.push(msg); }); };