mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-28 14:40:51 +02:00
lnwire: use BigSize
for encoding btc amount
This commit is contained in:
@@ -5,10 +5,8 @@ import (
|
||||
crand "crypto/rand"
|
||||
"encoding/hex"
|
||||
"math"
|
||||
"math/rand"
|
||||
"net"
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/btcsuite/btcd/btcec/v2"
|
||||
"github.com/btcsuite/btcd/btcec/v2/ecdsa"
|
||||
@@ -249,7 +247,3 @@ func TestLightningWireProtocol(t *testing.T) {
|
||||
}))
|
||||
}
|
||||
}
|
||||
|
||||
func init() {
|
||||
rand.Seed(time.Now().Unix())
|
||||
}
|
||||
|
Reference in New Issue
Block a user