Fixed billing fees unreachable error propagation. Added USDT ledger creation. Fixed ledger boundaries operation types
This commit is contained in:
@@ -7,14 +7,16 @@ func TestNormalizeRailOperations(t *testing.T) {
|
||||
"send",
|
||||
"payout.crypto",
|
||||
"observe.confirm",
|
||||
"external.credit",
|
||||
"fx.convert",
|
||||
"unknown",
|
||||
"EXTERNAL_CREDIT",
|
||||
})
|
||||
|
||||
want := []string{
|
||||
RailOperationSend,
|
||||
RailOperationExternalCredit,
|
||||
RailOperationObserveConfirm,
|
||||
RailOperationFXConvert,
|
||||
}
|
||||
if len(got) != len(want) {
|
||||
t.Fatalf("unexpected operations count: got=%d want=%d", len(got), len(want))
|
||||
|
||||
Reference in New Issue
Block a user