Updated on 2026-08-14
This commit is contained in:
parent
a07da07f47
commit
508b51d795
1 changed files with 2 additions and 1 deletions
|
|
@ -24,8 +24,9 @@ class TransactionExtrasReducer : SendInternalReducer {
|
|||
val emptyResult = TransactionExtrasState()
|
||||
val result = when (action.blockchain) {
|
||||
Blockchain.XRP -> {
|
||||
val address = action.walletAddress.substringAfter(":")
|
||||
// 'r' - without tag, 'x' - with tag
|
||||
if (action.walletAddress.startsWith("r", true)) {
|
||||
if (address.startsWith("r", true)) {
|
||||
val tag = action.xrpTag?.toLongOrNull()
|
||||
if (tag == null) {
|
||||
TransactionExtrasState(xrpDestinationTag = XrpDestinationTagState())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue