Skip to content
Snippets Groups Projects

Draft: Resolve "Error: Base 58 requirement is violated"

Open Nicolas80 requested to merge 48-error-base-58-requirement-is-violated into master
1 unresolved thread
Compare changes
  • Side-by-side
  • Inline
Files
1
  • * 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
Loading