test: getnewaddress RPC takes account name
This commit is contained in:
parent
c15bedfb6d
commit
fe04bfa10a
1 changed files with 2 additions and 2 deletions
|
@ -436,8 +436,8 @@ class BlockchainNode:
|
||||||
def get_raw_change_address(self):
|
def get_raw_change_address(self):
|
||||||
return self._cli_cmnd('getrawchangeaddress')
|
return self._cli_cmnd('getrawchangeaddress')
|
||||||
|
|
||||||
def get_new_address(self, address_type):
|
def get_new_address(self, account):
|
||||||
return self._cli_cmnd('getnewaddress', "", address_type)
|
return self._cli_cmnd('getnewaddress', account)
|
||||||
|
|
||||||
async def get_balance(self):
|
async def get_balance(self):
|
||||||
return await self._cli_cmnd('getbalance')
|
return await self._cli_cmnd('getbalance')
|
||||||
|
|
Loading…
Add table
Reference in a new issue