lnwire: use BigSize for encoding btc amount

This commit is contained in:
yyforyongyu committed 2025-07-11 04:09:11 +03:00
1 parent 04a2be29d2
commit 0f1cb54eb2
4 files changed
+34 -38

No files matched your search

-6
View File
@@ -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())
}