Skip to content

Commit

Permalink
This commit was created automatically by the lipa bot
Browse files Browse the repository at this point in the history
  • Loading branch information
lipa-github-bot committed Oct 31, 2024
1 parent 907bfb9 commit 4aca79d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4826,8 +4826,7 @@ public object FfiConverterTypeSwapAddressInfo: FfiConverterRustBuffer<SwapAddres
data class SwapInfo (
var `bitcoinAddress`: kotlin.String,
var `createdAt`: TzTime,
var `paidAmount`: Amount,
var `txid`: kotlin.String
var `paidAmount`: Amount
) {

companion object
Expand All @@ -4842,22 +4841,19 @@ public object FfiConverterTypeSwapInfo: FfiConverterRustBuffer<SwapInfo> {
FfiConverterString.read(buf),
FfiConverterTypeTzTime.read(buf),
FfiConverterTypeAmount.read(buf),
FfiConverterString.read(buf),
)
}

override fun allocationSize(value: SwapInfo) = (
FfiConverterString.allocationSize(value.`bitcoinAddress`) +
FfiConverterTypeTzTime.allocationSize(value.`createdAt`) +
FfiConverterTypeAmount.allocationSize(value.`paidAmount`) +
FfiConverterString.allocationSize(value.`txid`)
FfiConverterTypeAmount.allocationSize(value.`paidAmount`)
)

override fun write(value: SwapInfo, buf: ByteBuffer) {
FfiConverterString.write(value.`bitcoinAddress`, buf)
FfiConverterTypeTzTime.write(value.`createdAt`, buf)
FfiConverterTypeAmount.write(value.`paidAmount`, buf)
FfiConverterString.write(value.`txid`, buf)
}
}

Expand Down
4 changes: 2 additions & 2 deletions jitpack.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
before_install:
- wget https://github.com/getlipa/lipa-lightning-lib-android/releases/download/v0.67.0-beta-mock/jniLibs.zip
- if [ $(shasum -a 256 jniLibs.zip | sed 's/ .*//') != '3e39bcc36316d86720d705c095bb40cd150b2a160501ab59b8d2bccbd36764ef' ]; then exit 1; fi
- wget https://github.com/getlipa/lipa-lightning-lib-android/releases/download/v0.68.0-beta/jniLibs.zip
- if [ $(shasum -a 256 jniLibs.zip | sed 's/ .*//') != '1909e3eefd62136f635ce80458050e84a8313423f2b9e5ae6f8fc814a8121b32' ]; then exit 1; fi
- unzip -o jniLibs.zip
- mv jniLibs LipaLightningLib/src/main/jniLibs
- wget https://github.com/java-native-access/jna/archive/refs/tags/5.13.0.zip
Expand Down

0 comments on commit 4aca79d

Please sign in to comment.