Implement looking up trade by partial reference message or amount/currency #1
Loading…
Reference in New Issue
No description provided.
Delete Branch "feature/alternate-reference-check"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Implement looking up a transaction's details by:
Checks for partial reference:
Checks for amount/currency lookup:
Tests:
trade for 2SEK ref XXX
right amount and currency with no reference
2, SEK, XXX
Result:
DRY RUN releasing funds for a27fee4c-adc1-4cba-bfee-4cadc18cba25 / Sent from Revolut
incorrect amount by less than 1USD with no reference
3, SEK, Sent from Revolut
Result:
Failed to get reference by amount and currency: 61d0b74a-be0a-a5ed-9886-5f8369796ee8 SEK 5
incorrect amount by less than 1USD with reference
3, SEK, XXX
DRY RUN releasing funds for a27fee4c-adc1-4cba-bfee-4cadc18cba25 / XMR-ZUYBM
exact amount with reference
2, SEK, XXX
Result:
DRY RUN releasing funds for a27fee4c-adc1-4cba-bfee-4cadc18cba25 / XMR-ZUYBM
exact amount with wrong currency and reference
2, GBP, XXX
Currency mismatch, Agora: SEK / Revolut: GBP
exact amount with wrong currency and no reference
2, GBP, Sent from Revolut
Result:
Checking against amount and currency for TXID 61d0b78b-22d4-ab3f-9a08-34d9919c3ff0
Failed to get reference by amount and currency: 61d0b78b-22d4-ab3f-9a08-34d9919c3ff0 GBP 2
incorrect amount by more than 1USD with reference
20, SEK, XXX
Result:
Amount does not match exactly, trying with margins: min: 5.949761610453824 / max: 24.050238389546177
Amount mismatch - not in margins: 2.0 (min: 5.949761610453824 / max: 24.050238389546177
incorrect amount by more than 1USD with no reference
20, SEK, Sent from Revolut
Result:
Failed to get reference by amount and currency: 61d0b651-8768-a30a-b75b-67b1de14056c SEK 10
Pull request closed