Fix accounts_ledger savePoint conversion (#2226)
This commit is contained in:
parent
a649e633ae
commit
5db6ee07fb
|
@ -700,7 +700,7 @@ func init*(
|
|||
profApi.journalGetFilter =
|
||||
proc(a: BackendRef; b: int): auto =
|
||||
AristoApiProfJournalGetFilterFn.profileRunner:
|
||||
result = api.journalGetInx(a, b)
|
||||
result = api.journalGetFilter(a, b)
|
||||
|
||||
profApi.journalGetInx =
|
||||
proc(a: BackendRef; b: Option[FilterID]; c = false): auto =
|
||||
|
|
|
@ -24,7 +24,10 @@ import
|
|||
# ------------------------------------------------------------------------------
|
||||
|
||||
func savePoint(sp: LedgerSpRef): impl.LedgerSavePoint =
|
||||
wrp.LedgerSavePoint(sp).sp
|
||||
if not sp.isNil:
|
||||
wrp.LedgerSavePoint(sp).sp
|
||||
else:
|
||||
nil
|
||||
|
||||
# ----------------
|
||||
|
||||
|
|
Loading…
Reference in New Issue