Repository navigation
Conversation
Fixture BTC quotes scale by float division and land in e-notation, which crashes decimalsToAtoms at Review; rebuild both schedules on atom integers with a quoteBtc shape gate. Split the ML step-0 honest states: broadcast endpoint missing reads mlBroadcastOff, device-pending signing (bindings seam) surfaces mlPending with the first quote failure. Re-quote failure on step 1 renders the error with a retry and the preparing copy only while in flight; the rate row uses the rateLabel key. TxTracker stops once confirmations meet the per-entry target instead of polling confirmed txs for 30 minutes.
Demo success replaces the explorer link with the demoTx note; the review auth callout states the factual on-device signing instead of promising a biometric prompt that never runs. Internal rejected details stay diagnostics-only and map to the generic copy; wrongNetwork names the network in plain words. The review amount scales to fit and the step-0 amount input may shrink, so long values hold at 360. Error callouts announce as alerts, fee tiles expose role and selected state with a combined label, token sends label the ML-paid fee and the fee-excluded total, a stalled tracker discloses itself, and the timeout copy stops inviting a blind retry.
BtcTxBuilder reads rate and fallback from the buildUnsigned result instead of instance fields as a hidden return channel; MlChainReader trims the tip route the builder never calls; SendScreen hoists the etaKey helper; the account context gains a requireIndexer type guard so callers stop re-checking null; transport.ts owns one assertTxHex contract used at both broadcast boundaries; the clipboard scrub lives in one helper shared by ReceiveScreen and ImportPhrase.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Milestone M3 (send/receive): the wallet moves money.
Known follow-ups (tracked)