diff --git a/src/lib.rs b/src/lib.rs index 57abe64..2db6163 100755 --- a/src/lib.rs +++ b/src/lib.rs @@ -279,7 +279,7 @@ impl PumpFun { } instructions.push(instruction::buy( - self.payer.as_ref(), + &self.payer.clone(), mint, &global_account.fee_recipient, instruction::Buy {