Skip to content

Commit

Permalink
Merge pull request #34 from 1sol-io/fix/cropper_instruction_err
Browse files Browse the repository at this point in the history
fix cropper_finance instruction error
  • Loading branch information
googolmo authored Mar 24, 2022
2 parents 1a246d9 + eea97b6 commit 320dc1a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/program-rust/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "onesol-protocol"
version = "0.4.1"
version = "0.4.2"
authors = ["croath <[email protected]>"]
edition = "2018"
exclude = ["js/**"]
Expand Down
2 changes: 1 addition & 1 deletion src/program-rust/src/swappers/cropper/instruction.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ pub fn swap_instruction(
AccountMeta::new_readonly(*swap_pubkey, false),
AccountMeta::new_readonly(*authority_pubkey, false),
AccountMeta::new_readonly(*user_transfer_authority_pubkey, true),
AccountMeta::new_readonly(*state_pubkey, true),
AccountMeta::new_readonly(*state_pubkey, false),
AccountMeta::new(*source_pubkey, false),
AccountMeta::new(*swap_source_pubkey, false),
AccountMeta::new(*swap_destination_pubkey, false),
Expand Down

0 comments on commit 320dc1a

Please sign in to comment.