Skip to content

Commit 0699c66

Browse files
committed
reformat files
1 parent 729ebc7 commit 0699c66

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

pycardano/backend/blockfrost.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
from pycardano.exception import TransactionFailedException
1313
from pycardano.hash import SCRIPT_HASH_SIZE, DatumHash, ScriptHash
1414
from pycardano.nativescript import NativeScript
15-
from pycardano.network import Network, BLOCKFROST_URLS
15+
from pycardano.network import BLOCKFROST_URLS, Network
1616
from pycardano.plutus import ExecutionUnits, PlutusV1Script, PlutusV2Script
1717
from pycardano.serialization import RawCBOR
1818
from pycardano.transaction import (
@@ -172,7 +172,10 @@ def utxos(self, address: str) -> List[UTxO]:
172172

173173
script = None
174174

175-
if hasattr(result, "reference_script_hash") and result.reference_script_hash:
175+
if (
176+
hasattr(result, "reference_script_hash")
177+
and result.reference_script_hash
178+
):
176179
script = self._get_script(result.reference_script_hash)
177180

178181
tx_out = TransactionOutput(

pycardano/network.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,4 @@ def from_primitive(cls, value: int) -> Network:
3232
Network.TESTNET: "https://cardano-testnet.blockfrost.io/api",
3333
Network.PREVIEW: "https://cardano-preview.blockfrost.io/api",
3434
Network.PREPROD: "https://cardano-preprod.blockfrost.io/api",
35-
}
35+
}

0 commit comments

Comments
 (0)