Decred: test_010_txn_size

This commit is contained in:
tecnovert
2024-05-20 18:27:47 +02:00
parent 446d6fe357
commit aa1e1fd79c
3 changed files with 119 additions and 2 deletions

View File

@@ -1001,7 +1001,7 @@ class BTCInterface(Secp256k1Interface):
def getWalletTransaction(self, txid: bytes):
try:
return bytes.fromhex(self.rpc('gettransaction', [txid.hex()]))
return bytes.fromhex(self.rpc_wallet('gettransaction', [txid.hex()]))
except Exception as ex:
# TODO: filter errors
return None