From e940e9282318985e9ae887033f4ee719dbe18c69 Mon Sep 17 00:00:00 2001 From: Joseph Poon Date: Thu, 18 Feb 2016 04:29:08 -0800 Subject: [PATCH] Updated wire to use int64 --- lnwire/lnwire.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lnwire/lnwire.go b/lnwire/lnwire.go index c9fdb9625..3e5be3dfb 100644 --- a/lnwire/lnwire.go +++ b/lnwire/lnwire.go @@ -16,17 +16,17 @@ var MAX_SLICE_LENGTH = 65535 // Actual pkScript, not redeemScript type PkScript []byte -type HTLCKey uint64 +type HTLCKey int64 type CommitHeight uint64 // Subsatoshi amount (Micro-Satoshi, 1/1000th) // Should be a signed int to account for negative fees -// +// // "In any science-fiction movie, anywhere in the galaxy, currency is referred // to as 'credits.'" // --Sam Humphries. Ebert, Roger (1999). Ebert's bigger little movie // glossary. Andrews McMeel. p. 172. -// +// // https:// en.wikipedia.org/wiki/List_of_fictional_currencies // https:// en.wikipedia.org/wiki/Fictional_currency#Trends_in_the_use_of_fictional_currencies // http:// tvtropes.org/pmwiki/pmwiki.php/Main/WeWillSpendCreditsInTheFuture