mirror of
https://github.com/status-im/nimbus-eth1.git
synced 2025-01-26 12:08:59 +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 =
|
profApi.journalGetFilter =
|
||||||
proc(a: BackendRef; b: int): auto =
|
proc(a: BackendRef; b: int): auto =
|
||||||
AristoApiProfJournalGetFilterFn.profileRunner:
|
AristoApiProfJournalGetFilterFn.profileRunner:
|
||||||
result = api.journalGetInx(a, b)
|
result = api.journalGetFilter(a, b)
|
||||||
|
|
||||||
profApi.journalGetInx =
|
profApi.journalGetInx =
|
||||||
proc(a: BackendRef; b: Option[FilterID]; c = false): auto =
|
proc(a: BackendRef; b: Option[FilterID]; c = false): auto =
|
||||||
|
@ -24,7 +24,10 @@ import
|
|||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
func savePoint(sp: LedgerSpRef): impl.LedgerSavePoint =
|
func savePoint(sp: LedgerSpRef): impl.LedgerSavePoint =
|
||||||
|
if not sp.isNil:
|
||||||
wrp.LedgerSavePoint(sp).sp
|
wrp.LedgerSavePoint(sp).sp
|
||||||
|
else:
|
||||||
|
nil
|
||||||
|
|
||||||
# ----------------
|
# ----------------
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user