feat: add search by nodeid and alias
This commit is contained in:
@@ -168,7 +168,9 @@ data class PaymentRecord(
|
||||
@SerializedName("preimage") val preimage: String?,
|
||||
@SerializedName("extra") val extra: PaymentExtra?,
|
||||
// Not from the API — populated only when loaded from Room via toDomain()
|
||||
val createdAt: Long? = null
|
||||
val createdAt: Long? = null,
|
||||
val pubkey: String? = null,
|
||||
val alias: String? = null
|
||||
) {
|
||||
val amountSat: Long get() = kotlin.math.abs(amountMsat) / 1000L
|
||||
val feeSat: Long get() = kotlin.math.abs(feeMsat) / 1000L
|
||||
|
||||
Reference in New Issue
Block a user