Skip to content
Snippets Groups Projects
Commit 2cd0a861 authored by Nicolas80's avatar Nicolas80
Browse files

* Kind of ugly; but needed to adapt fn find_direct_children_accounts to also...

* Kind of ugly; but needed to adapt fn find_direct_children_accounts to also match lines that have extra double quotes inside the parent column
** For that; since it seems sea-orm does the `eq` part on string values; the only way I could find is to allow any of those checks
*** original "parent" eq address as DbAccountId (sea-orm converts address' DbAccountId to a clean string that doesn't have the extra double quotes)
*** extra "parent" eq `format!("\"{}\"",current_account.address.to_string())` for the cases where the DB got incorrect values
parent 54e82c1b
No related branches found
No related tags found
Loading
Checking pipeline status