anza-xyz / solana-pay

A new standard for decentralized payments.
https://solanapay.com
Apache License 2.0
1.29k stars 450 forks source link

Update CreateTransfer : deprecated + refactoring #172

Closed flodef closed 1 year ago

flodef commented 1 year ago

Replaced deprecated method getRecentBlockhash by getLatestBlockhash Code refactoring in checkAccount()

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
solana-pay ❌ Failed (Inspect) Dec 18, 2022 at 2:55AM (UTC)
solana-pay-docs ✅ Ready (Inspect) Visit Preview Dec 18, 2022 at 2:55AM (UTC)
flodef commented 1 year ago

@jordansexton Any ETA on commit ?

flodef commented 1 year ago

The build failed because of the recent change in the folder structure (pos ==> examples/pos). But the file in itself is building correctly :-D

flodef commented 1 year ago

Thanks for this! The latestBlockhash change is good, and refactoring the account checks is a good idea, but doesn't go far enough yet.

Excellent comment. Thanks for all the explanation that were crystal clear. It's done.