From fb9a69adc70d73556d18dea7bb6dac2694f6350a Mon Sep 17 00:00:00 2001 From: GroM Date: Thu, 14 Nov 2024 13:52:46 +0100 Subject: [PATCH] Update flow again and again --- doc/flow.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/flow.md b/doc/flow.md index bb67d2d2..adba1b45 100644 --- a/doc/flow.md +++ b/doc/flow.md @@ -69,7 +69,7 @@ sequenceDiagram TOCA-->>TOCA: Check that the [payout] address is owned by the device TOCA-->>EA: os_lib_end(): Result deactivate TOCA - EA->>+TOCA: os_lib_call(GET_PRINTABLE_AMOUNT) + EA->>+TOCA: os_lib_call(GET_PRINTABLE_AMOUNT, sub_coin_config, amount, printable_amount) TOCA-->>TOCA: Format the receiving amount TOCA-->>-EA: os_lib_end(): Formatted amount EA-->>-LL: return @@ -87,10 +87,10 @@ sequenceDiagram FRCA-->>FRCA: Check that the [refund] address belongs to the device FRCA-->>EA: os_lib_end(): Result deactivate FRCA - EA->>+FRCA: os_lib_call(GET_PRINTABLE_AMOUNT) + EA->>+FRCA: os_lib_call(GET_PRINTABLE_AMOUNT, sub_coin_config, amount, printable_amount) FRCA-->>FRCA: Format the sending amount FRCA-->>-EA: os_lib_end(): Formatted amount - EA->>+FRCA: os_lib_call(GET_PRINTABLE_AMOUNT) + EA->>+FRCA: os_lib_call(GET_PRINTABLE_AMOUNT, sub_coin_config, fees, printable_fees) FRCA-->>FRCA: Format the fees amount FRCA-->>-EA: os_lib_end(): Formatted amount EA-->>-LL: return