mirror of
https://github.com/status-im/nimbus-eth1.git
synced 2025-01-12 13:24:21 +00:00
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 =
|
||||
if not sp.isNil:
|
||||
wrp.LedgerSavePoint(sp).sp
|
||||
else:
|
||||
nil
|
||||
|
||||
# ----------------
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user