Skip to content

Commit a9976c9

Browse files
committed
Oepsie
1 parent 3f3d507 commit a9976c9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

async_substrate_interface/async_substrate.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2376,10 +2376,10 @@ async def compose_call(
23762376
if call_params is None:
23772377
call_params = {}
23782378

2379-
await self.init_runtime(block_hash=block_hash)
2379+
runtime = await self.init_runtime(block_hash=block_hash)
23802380

2381-
call = self.runtime_config.create_scale_object(
2382-
type_string="Call", metadata=self.runtime.metadata
2381+
call = runtime.runtime_config.create_scale_object(
2382+
type_string="Call", metadata=runtime.metadata
23832383
)
23842384

23852385
call.encode(

0 commit comments

Comments
 (0)