Skip to content

Commit 69084ab

Browse files
committed
rebuild tx
1 parent e8b2e9f commit 69084ab

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/send_and_confirm.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,10 @@ impl Miner {
106106
fee
107107
}
108108
};
109+
109110
final_ixs.remove(1);
110111
final_ixs.insert(1, ComputeBudgetInstruction::set_compute_unit_price(fee));
112+
tx = Transaction::new_with_payer(&final_ixs, Some(&fee_payer.pubkey()));
111113
}
112114

113115
// Resign the tx

0 commit comments

Comments
 (0)