Skip to content

Commit 9c65f12

Browse files
committed
refactor(fees): default custom is relative
1 parent 6cf29e4 commit 9c65f12

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

lib/features/send/ui/widgets/selectable_custom_fee_list_item.dart

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,10 @@ class _SelectableCustomFeeListItemState
3131
void initState() {
3232
super.initState();
3333
_customFee = context.read<SendCubit>().state.customFee;
34-
_isAbsolute = _customFee?.isAbsolute ?? true;
34+
// Default to relative (sat/vByte): it's the unit users reason about and
35+
// the one that survives to the SDK without a size estimate. Absolute stays
36+
// available via the toggle.
37+
_isAbsolute = _customFee?.isAbsolute ?? false;
3538
final value = _customFee?.value.toString() ?? '';
3639
_controller = TextEditingController(text: value);
3740
_focusNode = FocusNode();

0 commit comments

Comments
 (0)