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