Skip to content

Commit 6b84f81

Browse files
committed
Sync work
1 parent 0dc342e commit 6b84f81

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

async_substrate_interface/sync_substrate.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -706,7 +706,7 @@ def init_runtime(
706706
)
707707

708708
if self.runtime and runtime_version == self.runtime.runtime_version:
709-
return
709+
return self.runtime
710710

711711
runtime = self.runtime_cache.retrieve(runtime_version=runtime_version)
712712
if not runtime:
@@ -760,6 +760,7 @@ def init_runtime(
760760

761761
if ss58_prefix_constant:
762762
self.ss58_format = ss58_prefix_constant
763+
return runtime
763764

764765
def create_storage_key(
765766
self,

0 commit comments

Comments
 (0)