mirror of
https://github.com/jwinterm/grin-wallet.git
synced 2026-10-17 15:21:39 +02:00
Custom output amounts (--make-outputs) and the CLI amount parser converted grin to nanogrin with `(g * GRIN_BASE as f64) as u64`, which can't represent all values exactly. Use core::amount_from_hr_string — the same exact integer parser already used by `send` and `invoice`. - contract OutputSelectionArgs::output_amounts (covers selection.rs). - wallet_args::parse_grin_amount. Addresses PR #754 review (types.rs, selection.rs, wallet_args.rs).