-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Amounts for staking #13
Comments
@cybercent Are you sure you aren't getting this mixed up with how ETH is represented in Solidity? In Cadence we use |
The number still has precision up to 8 decimal places, but it is only represented as an integer under the hood. We can represent it as a decimal number in Cadence. |
@joshuahannan thanks for the explanation. I opened the issue just to check that there was no mistake there. Good to know the amounts are correct. |
@cybercent Was just going to ask if that number is reported by the Go SDK. Are you calling |
A balance of 10K Flow looks like this:
balance: 1000000000000
Just checking that the minimums are right here:
flow-core-contracts/contracts/FlowIDTableStaking.cdc
Line 1047 in 35f281b
The text was updated successfully, but these errors were encountered: