fx fix
This commit is contained in:
@@ -229,6 +229,9 @@ func (p *paymentExecutor) ledgerTxForAction(ctx context.Context, payment *model.
|
||||
if err != nil {
|
||||
return rail.LedgerTx{}, err
|
||||
}
|
||||
if action == model.RailOperationCredit && strings.TrimSpace(accountRef) != "" {
|
||||
setLedgerAccountAttributes(payment, accountRef)
|
||||
}
|
||||
if action == model.RailOperationDebit && toRail == model.RailLedger {
|
||||
toRail = model.RailUnspecified
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user