mirror of
https://github.com/bisq-network/bisq.git
synced 2025-01-19 05:44:05 +01:00
Explain 'payment sent' implies 'funds deposited'
There is no need to simulate the time it takes between receiving a 'payment sent' msg and having funds (fiat) deposited in the seller's bank account. But there is need to explain that in the script.
This commit is contained in:
parent
99af81d51d
commit
072364b490
@ -434,6 +434,9 @@ waitfortradepaymentreceived() {
|
|||||||
TRADE_DETAIL=$(gettradedetail "$GETTRADE_CMD_OUTPUT")
|
TRADE_DETAIL=$(gettradedetail "$GETTRADE_CMD_OUTPUT")
|
||||||
exitoncommandalert $?
|
exitoncommandalert $?
|
||||||
|
|
||||||
|
# When the seller receives a 'payment sent' message, it is assumed funds (fiat) have already been deposited.
|
||||||
|
# In a real trade, there is usually a delay between receipt of a 'payment sent' message, and the funds deposit,
|
||||||
|
# but we do not need to simulate that in this regtest script.
|
||||||
IS_TRADE_PAYMENT_SENT=$(istradepaymentreceived "$TRADE_DETAIL" "$MAKER_OR_TAKER")
|
IS_TRADE_PAYMENT_SENT=$(istradepaymentreceived "$TRADE_DETAIL" "$MAKER_OR_TAKER")
|
||||||
exitoncommandalert $?
|
exitoncommandalert $?
|
||||||
printdate "$SELLER: Has buyer's payment been transferred to seller's fiat account? $IS_TRADE_PAYMENT_SENT"
|
printdate "$SELLER: Has buyer's payment been transferred to seller's fiat account? $IS_TRADE_PAYMENT_SENT"
|
||||||
|
Loading…
Reference in New Issue
Block a user