multi: fix go vet warnings throughout code base

This commit is contained in:
Olaoluwa Osuntokun committed 2017-02-16 19:33:19 +08:00
1 parent 55e693aa09
commit 384fe61e73
12 files changed
+52 -81

No files matched your search

+3 -3
View File
@@ -1029,9 +1029,9 @@ func generateSphinxPacket(route *Route, paymentHash []byte) ([]byte, error) {
// mutating the curve parameters, which are unset in a higher
// level in order to avoid spamming the logs.
pub := btcec.PublicKey{
btcec.S256(),
hop.Channel.Node.PubKey.X,
hop.Channel.Node.PubKey.Y,
Curve: btcec.S256(),
X: hop.Channel.Node.PubKey.X,
Y: hop.Channel.Node.PubKey.Y,
}
nodes[i] = &pub
}