solana-program dependency is exported from anchor-lang, but in anchor-spl, we sometimes use solana_program and sometimes anchor_lang::solana_program which makes it inconsistent.
Summary of changes
Replace all solana_program usage with anchor_lang::solana_program and remove the solana-program dependency.
Problem
solana-program
dependency is exported fromanchor-lang
, but inanchor-spl
, we sometimes usesolana_program
and sometimesanchor_lang::solana_program
which makes it inconsistent.Summary of changes
Replace all
solana_program
usage withanchor_lang::solana_program
and remove thesolana-program
dependency.