Skip to content

Commit

Permalink
Merge pull request #37 from virtualeconomy/update-api
Browse files Browse the repository at this point in the history
* update api to 4 
* fix bug
  • Loading branch information
SheldonYS authored Nov 13, 2019
2 parents 8560b9a + 20d15b1 commit d1fcc33
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
16 changes: 8 additions & 8 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ android {
applicationId "systems.v.coldwallet"
minSdkVersion 16
targetSdkVersion 28
versionCode 5
versionName "0.2.1"
versionCode 6
versionName "0.2.2"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
vectorDrawables.useSupportLibrary = true
multiDexEnabled true
Expand Down Expand Up @@ -38,13 +38,13 @@ android {
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support:multidex:1.0.3'
implementation 'com.android.support:appcompat-v7:27.1.1'
implementation 'com.android.support:design:27.1.1'
implementation 'com.android.support:appcompat-v7:28.0.0'
implementation 'com.android.support:design:28.0.0'
implementation 'com.android.support.constraint:constraint-layout:1.1.2'
implementation 'com.android.support:support-vector-drawable:27.1.1'
implementation 'com.android.support:support-v4:27.1.1'
implementation 'com.android.support:cardview-v7:27.1.1'
implementation 'com.android.support:recyclerview-v7:27.1.1'
implementation 'com.android.support:support-vector-drawable:28.0.0'
implementation 'com.android.support:support-v4:28.0.0'
implementation 'com.android.support:cardview-v7:28.0.0'
implementation 'com.android.support:recyclerview-v7:28.0.0'
implementation 'com.journeyapps:zxing-android-embedded:3.6.0@aar'
implementation 'com.google.zxing:core:3.3.0'
implementation 'com.wavesplatform:wavesj:0.8'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ public static Transaction makeCreateContractTx(Account sender, String contract,
long fee, short feeScale, BigInteger timestamp)
{
byte[] attachmentBytes = (description == null ? "" : description).getBytes();
ByteBuffer buf = ByteBuffer.allocate(KBYTE);
ByteBuffer buf = ByteBuffer.allocate(2 * KBYTE);
buf.put(CREATE_CONTRACT);


Expand Down
2 changes: 1 addition & 1 deletion app/src/main/java/systems/v/coldwallet/Wallet/Wallet.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public class Wallet {
private byte chainId;

public static final String PROTOCOL = "v.systems";
public static final int API_VERSION = 3;
public static final int API_VERSION = 4;
public static final int SEED_API_VERSION =1;
public static final int TX_API_VERSION =1;
public static final int ADDRESS_API_VERSION =1;
Expand Down

0 comments on commit d1fcc33

Please sign in to comment.