Skip to content

Commit

Permalink
Merge pull request #1280 from BLSQ/fix_transfer_from_OTP-to_TSFP
Browse files Browse the repository at this point in the history
Adding check on transfer_from_otp__bool__ field to identify transfer to TSFP
  • Loading branch information
madewulf authored May 2, 2024
2 parents 5311e98 + d1f2312 commit 5e24f06
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions plugins/wfp/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,9 +141,8 @@ def exit_type(self, visit):
visit.get("transfer__int__") is not None and visit.get("transfer__int__") == "1"
):
exit_type = "transfer_to_otp"

elif (visit.get("_transfer") is not None and visit.get("_transfer") == "1") and (
visit.get("_transfer_to_tsfp") is not None and visit.get("_transfer_to_tsfp") == "1"
elif (visit.get("_transfer_to_tsfp") is not None and visit.get("_transfer_to_tsfp") == "1") or (
visit.get("transfer_from_otp__bool__") is not None and visit.get("transfer_from_otp__bool__") == "1"
):
exit_type = "transfer_to_tsfp"

Expand Down

0 comments on commit 5e24f06

Please sign in to comment.