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