lnwire: use BigSize for encoding btc amount
This commit is contained in:
4 files changed
+34
-38
No files matched your search
@@ -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