mirror of
https://github.com/fluencelabs/js-libp2p
synced 2025-06-26 07:21:36 +00:00
fix: peer record interop with go (#739)
* test: add go peer record interop test * fix: correct the payload type of peer records * chore: fix linting * test: fix envelope test
This commit is contained in:
@ -140,7 +140,7 @@ Envelope.createFromProtobuf = async (data) => {
|
||||
*/
|
||||
Envelope.seal = async (record, peerId) => {
|
||||
const domain = record.domain
|
||||
const payloadType = uint8arraysFromString(record.codec)
|
||||
const payloadType = record.codec
|
||||
const payload = record.marshal()
|
||||
|
||||
const signData = formatSignaturePayload(domain, payloadType, payload)
|
||||
|
Reference in New Issue
Block a user