mirror of
https://github.com/oceanprotocol/ocean.js.git
synced 2024-11-26 20:39:05 +01:00
fix lint
This commit is contained in:
parent
05c4030afd
commit
304b53ad16
@ -122,9 +122,8 @@ export class Provider {
|
||||
[ethers.utils.hexlify(ethers.utils.toUtf8Bytes(message))]
|
||||
)
|
||||
const messageHashBytes = ethers.utils.arrayify(consumerMessage)
|
||||
|
||||
const chainId = await signer.getChainId()
|
||||
if (chainId == 8996) {
|
||||
if (chainId === 8996) {
|
||||
return await (signer as providers.JsonRpcSigner)._legacySignMessage(
|
||||
messageHashBytes
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user