File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ def main() -> int:
5353 if not socket_env :
5454 LOGGER .error ("The `CARDANO_NODE_SOCKET_PATH` environment variable is not set." )
5555 return 1
56- if bool (args .address ) ^ bool (args .skey_file ):
56+ if bool (args .address ) != bool (args .skey_file ):
5757 LOGGER .error (
5858 "Both address and skey file must be provided, or neither of them should be provided."
5959 )
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ def multisig_tx(
5555 build_method : str = clusterlib_utils .BuildMethods .BUILD_RAW ,
5656) -> clusterlib .TxRawOutput :
5757 """Build and submit multisig transaction."""
58- if bool (multisig_script ) ^ bool (script_utxos ):
58+ if bool (multisig_script ) != bool (script_utxos ):
5959 err = "Both `multisig_script` and `script_utxos` must be provided"
6060 raise ValueError (err )
6161
You can’t perform that action at this time.
0 commit comments