Browse Source

update hummingbird to v1.6.4 (revised crypto-account format)

terminal
Craig Raw 3 years ago
parent
commit
6804f713b2
  1. 3
      build.gradle
  2. 4
      src/main/java/com/sparrowwallet/sparrow/control/QRScanDialog.java
  3. 1
      src/main/java/module-info.java

3
build.gradle

@ -65,7 +65,8 @@ dependencies {
implementation('com.github.arteam:simple-json-rpc-server:1.0') {
exclude group: 'org.slf4j'
}
implementation('com.sparrowwallet:hummingbird:1.6.3')
implementation('com.sparrowwallet:hummingbird:1.6.4')
implementation('co.nstant.in:cbor:0.9')
implementation('com.nativelibs4java:bridj:0.7-20140918-3') {
exclude group: 'com.google.android.tools', module: 'dx'
}

4
src/main/java/com/sparrowwallet/sparrow/control/QRScanDialog.java

@ -499,7 +499,9 @@ public class QRScanDialog extends Dialog<QRScanDialog.Result> {
private ScriptType getScriptType(List<ScriptExpression> scriptExpressions) {
List<ScriptExpression> expressions = new ArrayList<>(scriptExpressions);
if(expressions.get(expressions.size() - 1) == ScriptExpression.MULTISIG || expressions.get(expressions.size() - 1) == ScriptExpression.SORTED_MULTISIG) {
if(expressions.get(expressions.size() - 1) == ScriptExpression.MULTISIG
|| expressions.get(expressions.size() - 1) == ScriptExpression.SORTED_MULTISIG
|| expressions.get(expressions.size() - 1) == ScriptExpression.COSIGNER) {
expressions.remove(expressions.size() - 1);
}

1
src/main/java/module-info.java

@ -43,4 +43,5 @@ open module com.sparrowwallet.sparrow {
requires io.reactivex.rxjava2fx;
requires org.apache.commons.lang3;
requires net.sourceforge.streamsupport;
requires co.nstant.in.cbor;
}
Loading…
Cancel
Save