Skip to content
This repository has been archived by the owner on Oct 10, 2022. It is now read-only.

Commit

Permalink
Init types when create client
Browse files Browse the repository at this point in the history
  • Loading branch information
wuminzhe committed May 28, 2021
1 parent 338f5a2 commit f84bbbd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/substrate_client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ def initialize(url)
@url = url
@request_id = 1
@metadata_cache = {}
init_types_and_metadata
end

def request(method, params)
Expand Down

0 comments on commit f84bbbd

Please sign in to comment.