Updated on 2026-08-14
This commit is contained in:
parent
6b187159d3
commit
94ae509926
2 changed files with 26 additions and 6 deletions
|
|
@ -148,5 +148,17 @@ data class Network(
|
|||
|
||||
/** Destination tag supported */
|
||||
DESTINATION_TAG,
|
||||
|
||||
;
|
||||
|
||||
/**
|
||||
* Indicated whether any tx extras are supported
|
||||
*/
|
||||
fun isTxExtrasSupported() = when (this) {
|
||||
NONE -> false
|
||||
MEMO,
|
||||
DESTINATION_TAG,
|
||||
-> true
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue