export fields from lnid and add deserialization method

This commit is contained in:
Tadge Dryja committed 2016-01-19 00:05:02 -08:00
1 parent 26d9ae7f2b
commit dd2c2274c8
2 files changed
+85 -8

No files matched your search

+1 -1
View File
@@ -144,7 +144,7 @@ out:
// 20-byte pkh.
var remoteId []byte
if addr.PubKey == nil {
remoteId = addr.Base58Addr.ScriptAddress()
remoteId = addr.Base58Adr.ScriptAddress()
} else {
remoteId = addr.PubKey.SerializeCompressed()
}