Skip to content

Commit

Permalink
Merge pull request #77 from muun/apollo-49.2-release-branch
Browse files Browse the repository at this point in the history
Release source code for 49.2
  • Loading branch information
acrespo authored Mar 28, 2022
2 parents 7c08f92 + a9a5666 commit 0c8baab
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 8 deletions.
5 changes: 5 additions & 0 deletions android/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ follow [https://changelog.md/](https://changelog.md/) guidelines.

## [Unreleased]

## [49.2] - 2022-03-22

### FIXED
- A crash when you have contacts with old address versions
- An error processing operation updates for lightning payments that made the look as if stuck pending

## [49.1] - 2022-03-17

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ public Completable deleteAll() {

@Override
protected void storeUnsafe(final Contact element) {
final PublicKey userPublicKey = element.getPublicKeyPair().getUserPublicKey();
final PublicKey muunPublicKey = element.getPublicKeyPair().getMuunPublicKey();
final PublicKey userPublicKey = element.publicKey;
final PublicKey muunPublicKey = element.cosigningPublicKey;

delightDb.getContactQueries().insertContact(
element.getId(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ open class OperationDao
fun updateStatus(
operationHid: Long,
confirmations: Long,
hash: String,
hash: String?,
status: OperationStatus
) {
delightDb.operationQueries.updateStatus(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ public class OperationUpdated {
@NotNull
public final Long confirmations;

@NotNull
// Null for certain kinds of lightning operations
@Nullable
public final String hash;

@NotNull
Expand All @@ -31,7 +32,7 @@ public class OperationUpdated {
*/
public OperationUpdated(Long hid,
Long confirmations,
String hash,
@Nullable String hash,
OperationStatus status,
NextTransactionSize nextTransactionSize,
@Nullable SubmarineSwap submarineSwap) {
Expand Down
4 changes: 2 additions & 2 deletions android/apolloui/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ android {
applicationId "io.muun.apollo"
minSdkVersion 19
targetSdkVersion 30
versionCode 901
versionName "49.1"
versionCode 902
versionName "49.2"

// Needed to make sure these classes are available in the main DEX file for API 19
// See: https://spin.atomicobject.com/2018/07/16/support-kitkat-multidex/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public OperationUpdateMessage() {
*/
public OperationUpdateMessage(Long id,
Long confirmations,
String hash,
@Nullable String hash,
OperationStatus status,
NextTransactionSizeJson nextTransactionSize,
SubmarineSwapJson swapDetails,
Expand Down

0 comments on commit 0c8baab

Please sign in to comment.