diff options
author | Javier Peletier <jm@epiclabs.io> | 2018-10-02 15:32:46 +0800 |
---|---|---|
committer | Javier Peletier <jm@epiclabs.io> | 2018-10-03 15:12:06 +0800 |
commit | 58c0879c2fbc9f88f35ba503674088da23a8a5a7 (patch) | |
tree | 64214db5b7e47a4b4677a4a487bdc9c83a063202 /swarm/storage/feeds/sign.go | |
parent | 68b8088cb9730bfe0ee2395dd5506dc744076fc2 (diff) | |
download | go-tangerine-58c0879c2fbc9f88f35ba503674088da23a8a5a7.tar go-tangerine-58c0879c2fbc9f88f35ba503674088da23a8a5a7.tar.gz go-tangerine-58c0879c2fbc9f88f35ba503674088da23a8a5a7.tar.bz2 go-tangerine-58c0879c2fbc9f88f35ba503674088da23a8a5a7.tar.lz go-tangerine-58c0879c2fbc9f88f35ba503674088da23a8a5a7.tar.xz go-tangerine-58c0879c2fbc9f88f35ba503674088da23a8a5a7.tar.zst go-tangerine-58c0879c2fbc9f88f35ba503674088da23a8a5a7.zip |
swarm/storage/feeds: removed capital Feed throughout
Diffstat (limited to 'swarm/storage/feeds/sign.go')
-rw-r--r-- | swarm/storage/feeds/sign.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/swarm/storage/feeds/sign.go b/swarm/storage/feeds/sign.go index a69942f2b..f5760c8f2 100644 --- a/swarm/storage/feeds/sign.go +++ b/swarm/storage/feeds/sign.go @@ -28,7 +28,7 @@ const signatureLength = 65 // Signature is an alias for a static byte array with the size of a signature type Signature [signatureLength]byte -// Signer signs Feed update payloads +// Signer signs feed update payloads type Signer interface { Sign(common.Hash) (Signature, error) Address() common.Address @@ -65,7 +65,7 @@ func (s *GenericSigner) Address() common.Address { return s.address } -// getUserAddr extracts the address of the Feed update signer +// getUserAddr extracts the address of the feed update signer func getUserAddr(digest common.Hash, signature Signature) (common.Address, error) { pub, err := crypto.SigToPub(digest.Bytes(), signature[:]) if err != nil { |