This repository has been archived by the owner on Jan 22, 2025. It is now read-only.
setComputeUnitPrice param asks for microlamports when in reality the function requires lamports/ #3434
Labels
bug
Something isn't working
Overview
Trying to set setComputeUnitPrice
Steps to reproduce
Try to make a transaction and add an instruction
The value will ask you for the amount you want to set in micro lamports.
But this is not correct as the actual result of the transaction shows to use lamports
I.e If I want to set 0.01 sol as unit price I need to send$$0.01 {\times} 10^9$$ not $$10^{15}$$
Description of bug
The wrong term has been used as the parameter for
It should be
The text was updated successfully, but these errors were encountered: