Skip to content

Commit 882fd26

Browse files
gertjaapadiabat
authored andcommitted
Fix for (de)serialization error (#358)
* Fix for (de)serialization error * Import errors failing build
1 parent d00f485 commit 882fd26

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

lndc/noise_test.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@ package lndc
33
import (
44
"bytes"
55
"encoding/hex"
6-
"github.com/mit-dci/lit/btcutil/koblitz"
7-
"github.com/mit-dci/lit/crypto/koblitz"
8-
"github.com/mit-dci/lit/lnutil"
9-
"github.com/mit-dci/lit/logging"
106
"io"
117
"math"
128
"net"
139
"sync"
1410
"testing"
11+
12+
"github.com/mit-dci/lit/crypto/koblitz"
13+
"github.com/mit-dci/lit/lnutil"
14+
"github.com/mit-dci/lit/logging"
1515
)
1616

1717
type maybeNetConn struct {

qln/lndb.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -600,7 +600,7 @@ func (nd *LitNode) ReloadQchanState(q *Qchan) error {
600600
if txoBytes == nil {
601601
return fmt.Errorf("utxo value empty")
602602
}
603-
u, err := portxo.PorTxoFromBytes(txoBytes[99:])
603+
u, err := portxo.PorTxoFromBytes(txoBytes[107:])
604604
if err != nil {
605605
return err
606606
}

qln/multihop.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ import (
55
"crypto/rand"
66
"fmt"
77

8-
"github.com/adiabat/bech32"
9-
"github.com/btcsuite/fastsha256"
8+
"github.com/mit-dci/lit/bech32"
109
"github.com/mit-dci/lit/consts"
10+
"github.com/mit-dci/lit/crypto/fastsha256"
1111
"github.com/mit-dci/lit/lnutil"
1212
"github.com/mit-dci/lit/logging"
1313
)

shortaddr/shortadr.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"bytes"
55
"encoding/binary"
66

7-
"github.com/btcsuite/fastsha256"
7+
"github.com/mit-dci/lit/crypto/fastsha256"
88
)
99

1010
/*

0 commit comments

Comments
 (0)