We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df442be commit a287245Copy full SHA for a287245
persistlog/decayedlog.go
@@ -89,7 +89,7 @@ outer:
89
if err != nil {
90
return err
91
}
92
- } else if lastHeight != 0 && uint32(epoch.Height) - lastHeight > cltv {
+ } else if lastHeight != 0 && uint32(epoch.Height)-lastHeight > cltv {
93
// This CLTV just expired or
94
// expired in the past but the
95
// garbage collector was not
sphinx_test.go
@@ -4,6 +4,7 @@ import (
4
"bytes"
5
"encoding/hex"
6
"fmt"
7
+ "os"
8
"reflect"
9
"strconv"
10
"testing"
@@ -12,7 +13,6 @@ import (
12
13
"github.com/davecgh/go-spew/spew"
14
"github.com/roasbeef/btcd/btcec"
15
"github.com/roasbeef/btcd/chaincfg"
- "os"
16
)
17
18
// BOLT 4 Test Vectors
0 commit comments