michaelhly / solana-py

Solana Python SDK
https://michaelhly.github.io/solana-py
MIT License
1.04k stars 273 forks source link

Add sync_native instruction #376

Closed pyz4 closed 11 months ago

pyz4 commented 11 months ago

Add instruction for syncing a token account's data.amount field with the account's lamport field for working with wrapped sol token accounts.

codecov[bot] commented 11 months ago

Codecov Report

Merging #376 (907f1a3) into master (c60f9ff) will increase coverage by 0.05%. The diff coverage is 100.00%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #376 +/- ## ========================================== + Coverage 89.93% 89.99% +0.05% ========================================== Files 28 28 Lines 2215 2228 +13 ========================================== + Hits 1992 2005 +13 Misses 223 223 ```
michaelhly commented 11 months ago

@pyz4 can you run make lint and fix all the lint errors?

pyz4 commented 11 months ago

@michaelhly, done