Skip to content

380-base-unit-for-Bitcoin - #542

Open
cinnamoroll6130 wants to merge 5 commits into
developfrom
380-btc-base-unit
Open

380-base-unit-for-Bitcoin#542
cinnamoroll6130 wants to merge 5 commits into
developfrom
380-btc-base-unit

Conversation

@cinnamoroll6130

Copy link
Copy Markdown
Collaborator

No description provided.

size="large"
disabled={isLoading}
decimal={balance.amount.decimal}
decimal={isBTC ? btcBaseUnit.decimal : balance.amount.decimal}

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Thorian1te, pls review this part.

return `${AssetCurrencySymbol.SATOSHI} ${formatBaseAmount(base)}`
} else if (baseUnitDecimal === 5) {
// TODO: @Thorianite review
return `${formatBaseAmount(base.div(1e3))} mBTC`

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Thorian1te, please review here as well

@GrassRootsCrypto GrassRootsCrypto linked an issue Dec 16, 2024 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bitcoin Send and Swap - denote in sats

1 participant