Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix: missing 1 required positional argument: 'self'
  • Loading branch information
vasiliy-zaznobin committed Nov 24, 2021
commit 5cad811529141e69372a9d668483e83f927d18e1
2 changes: 1 addition & 1 deletion proxy/plugin/solana_rest_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def eth_chainId(self):
return hex(int(self.neon_config_dict['NEON_CHAIN_ID']))

def neon_cli_version(self):
return neon_cli.version()
return neon_cli().version()

def net_version(self):
neon_config_load(self)
Expand Down
2 changes: 1 addition & 1 deletion proxy/testing/test_neon_cli_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def test_01_neon_cli_version(self):
print('response:', response)
neon_cli_version = response['result']
print('neon_cli_version:', neon_cli_version)
self.assertEqual(neon_cli_version, neon_cli.version())
self.assertEqual(neon_cli_version, neon_cli().version())


if __name__ == '__main__':
Expand Down