fixed linter
This commit is contained in:
@@ -2,4 +2,4 @@ package io.emeraldpay.dshackle.upstream.ethereum.subscribe.json
|
|||||||
|
|
||||||
interface HasUpstream {
|
interface HasUpstream {
|
||||||
val upstreamId: String
|
val upstreamId: String
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
package io.emeraldpay.dshackle.upstream.signature
|
package io.emeraldpay.dshackle.upstream.signature
|
||||||
|
|
||||||
import io.emeraldpay.dshackle.upstream.Upstream
|
|
||||||
import org.apache.commons.codec.binary.Hex
|
import org.apache.commons.codec.binary.Hex
|
||||||
import java.security.MessageDigest
|
import java.security.MessageDigest
|
||||||
import java.security.Signature
|
import java.security.Signature
|
||||||
|
|||||||
@@ -1,7 +1,5 @@
|
|||||||
package io.emeraldpay.dshackle.upstream.signature
|
package io.emeraldpay.dshackle.upstream.signature
|
||||||
|
|
||||||
import io.emeraldpay.dshackle.upstream.Upstream
|
|
||||||
|
|
||||||
class NoSigner : ResponseSigner {
|
class NoSigner : ResponseSigner {
|
||||||
override fun sign(nonce: Long, message: ByteArray, source: String): ResponseSigner.Signature? {
|
override fun sign(nonce: Long, message: ByteArray, source: String): ResponseSigner.Signature? {
|
||||||
return null
|
return null
|
||||||
|
|||||||
@@ -1,7 +1,5 @@
|
|||||||
package io.emeraldpay.dshackle.upstream.signature
|
package io.emeraldpay.dshackle.upstream.signature
|
||||||
|
|
||||||
import io.emeraldpay.dshackle.upstream.Upstream
|
|
||||||
|
|
||||||
interface ResponseSigner {
|
interface ResponseSigner {
|
||||||
|
|
||||||
fun sign(nonce: Long, message: ByteArray, source: String): Signature?
|
fun sign(nonce: Long, message: ByteArray, source: String): Signature?
|
||||||
|
|||||||
Reference in New Issue
Block a user