pylint
This commit is contained in:
parent
b0f0827cff
commit
fd2945469e
2 changed files with 3 additions and 3 deletions
|
@ -262,7 +262,7 @@ class BaseTransaction:
|
|||
self._raw = raw
|
||||
self._raw_sans_segwit = None
|
||||
self.is_segwit_flag = 0
|
||||
self.witnesses = []
|
||||
self.witnesses: List[bytes] = []
|
||||
self.ref = TXRefMutable(self)
|
||||
self.version = version
|
||||
self.locktime = locktime
|
||||
|
|
|
@ -395,8 +395,8 @@ class BlockchainNode:
|
|||
def get_raw_change_address(self):
|
||||
return self._cli_cmnd('getrawchangeaddress')
|
||||
|
||||
def get_new_address(self, type):
|
||||
return self._cli_cmnd('getnewaddress', "", type)
|
||||
def get_new_address(self, address_type):
|
||||
return self._cli_cmnd('getnewaddress', "", address_type)
|
||||
|
||||
async def get_balance(self):
|
||||
return float(await self._cli_cmnd('getbalance'))
|
||||
|
|
Loading…
Reference in a new issue