Skip to content

Commit

Permalink
🔨 Fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
euro committed Nov 21, 2018
1 parent 9d519ff commit 7a99f80
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import co.omisego.omisego.model.Wallet
import co.omisego.omisego.model.params.AccountListParams
import co.omisego.omisego.model.params.AccountWalletListParams
import co.omisego.omisego.model.params.LoginParams
import co.omisego.omisego.model.params.TransactionRequestParams
import co.omisego.omisego.model.params.admin.TransactionRequestCreateParams
import org.amshove.kluent.shouldBe
import org.amshove.kluent.shouldNotBe
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ class TransactionRequestLiveTest : BaseAuthTest() {
val response = client.getTransactionRequest(TransactionRequestParams(testTransactionRequestTypeReceive.id)).execute()
response.isSuccessful shouldBe true
response.body()?.data shouldBeInstanceOf TransactionRequest::class.java
response.body()?.data?.formattedId shouldEqual testTransactionRequestTypeReceive
response.body()?.data?.formattedId shouldEqual testTransactionRequestTypeReceive.formattedId
}

@Test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@ data class TransactionConsumptionParams internal constructor(
)
}


/**
* Initialize the params used to consume a transaction request
* Returns null if the amount is null and was not specified in the transaction request
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ package co.omisego.omisego.model
*/

import android.os.Parcelable
import co.omisego.omisego.model.Token
import kotlinx.android.parcel.Parcelize
import java.math.BigDecimal
import java.util.Date
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,4 +113,3 @@ fun Account.startListeningEvents(
joinChannel(socketTopic, payload)
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ class SystemEventDispatcher(
SocketSystemEvent.ERROR -> {
val error = response.error
?: APIError(ErrorCode.SDK_SOCKET_ERROR, "Something goes wrong while connecting to the channel")

socketChannelListener.onError(error)
}
}
Expand Down

0 comments on commit 7a99f80

Please sign in to comment.