From 17fbc5ba20bbff15c7b11f7779c8f60efa105dbf Mon Sep 17 00:00:00 2001 From: Meek Msaki <98189596+mmsaki@users.noreply.github.com> Date: Tue, 15 Oct 2024 18:09:27 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=98=B5=E2=80=8D=F0=9F=92=AB=20fix=20=20po?= =?UTF-8?q?ol=20address?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/defigraph/Edge.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/defigraph/Edge.py b/src/defigraph/Edge.py index 2044ebe..1499e6e 100644 --- a/src/defigraph/Edge.py +++ b/src/defigraph/Edge.py @@ -2,12 +2,11 @@ from defigraph.Pool import Pool class Edge: - def __init__(self, u: Vertex, v: Vertex, weight: float=None): + def __init__(self, u: Vertex, v: Vertex, pool_address: str, weight: float=None): self.u = u self.v = v self.weight = weight - address = "" - self.pool = Pool(address=address,token0=u, token1=v) + self.pool = Pool(address=pool_address,token0=u, token1=v) def __repr__(self): if not self.weight: