Skip to content

Commit 91956b4

Browse files
authored
fix(MultiSend): return self from MultiSend.add_from_calldata (#93)
1 parent 26887cf commit 91956b4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ape_safe/multisend.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ def __call__(
278278
"""
279279
return self.provider.send_transaction(self.as_transaction(safe=safe, **txn_kwargs))
280280

281-
def add_from_calldata(self, calldata: bytes):
281+
def add_from_calldata(self, calldata: bytes) -> "MultiSend":
282282
"""
283283
Decode all calls from a multisend calldata and add them to this MultiSend.
284284
@@ -301,3 +301,5 @@ def add_from_calldata(self, calldata: bytes):
301301
"callData": data,
302302
}
303303
)
304+
305+
return self

0 commit comments

Comments
 (0)