mirror of
https://github.com/libp2p/go-libp2p-core.git
synced 2025-03-22 12:20:07 +08:00
whitespace
This commit is contained in:
parent
00306a4903
commit
347316f262
@ -4,7 +4,9 @@ import (
|
|||||||
"bytes"
|
"bytes"
|
||||||
"encoding/binary"
|
"encoding/binary"
|
||||||
"errors"
|
"errors"
|
||||||
"github.com/golang/protobuf/proto"
|
|
||||||
|
"github.com/gogo/protobuf/proto"
|
||||||
|
|
||||||
"github.com/libp2p/go-buffer-pool"
|
"github.com/libp2p/go-buffer-pool"
|
||||||
pb "github.com/libp2p/go-libp2p-core/crypto/pb"
|
pb "github.com/libp2p/go-libp2p-core/crypto/pb"
|
||||||
)
|
)
|
||||||
@ -15,7 +17,6 @@ import (
|
|||||||
// string used to produce the envelope in order to verify the signature and
|
// string used to produce the envelope in order to verify the signature and
|
||||||
// access the payload.
|
// access the payload.
|
||||||
type SignedEnvelope struct {
|
type SignedEnvelope struct {
|
||||||
|
|
||||||
// The public key that can be used to verify the signature and derive the peer id of the signer.
|
// The public key that can be used to verify the signature and derive the peer id of the signer.
|
||||||
publicKey PubKey
|
publicKey PubKey
|
||||||
|
|
||||||
|
@ -9,4 +9,4 @@ message SignedEnvelope {
|
|||||||
bytes payload_type = 2;
|
bytes payload_type = 2;
|
||||||
bytes payload = 3;
|
bytes payload = 3;
|
||||||
bytes signature = 4;
|
bytes signature = 4;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user