Skip to content

Commit 1132031

Browse files
authored
Merge pull request #691 from soramitsu/staging
fee calculation hot fix
2 parents bde2feb + aacb83c commit 1132031

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
buildscript {
22
ext {
33
// App version
4-
versionName = '2.0.10'
5-
versionCode = 71
4+
versionName = '2.0.11'
5+
versionCode = 72
66

77
// SDK and tools
88
compileSdkVersion = 31

common/src/main/java/jp/co/soramitsu/common/data/network/runtime/model/FeeResponse.kt

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,15 @@ package jp.co.soramitsu.common.data.network.runtime.model
22

33
import java.math.BigInteger
44

5+
// todo there were a field which caused an errors:
6+
// val weight: Long
7+
// we weren't use it anywhere so I just removed it
8+
// New response should have a struct like this:
9+
// {
10+
// "weight":{"ref_time":164143000},
11+
// "class":"normal",
12+
// "partialFee":"15407544760"
13+
// }
514
class FeeResponse(
6-
val partialFee: BigInteger,
7-
val weight: Long
15+
val partialFee: BigInteger
816
)

0 commit comments

Comments
 (0)