File tree Expand file tree Collapse file tree 3 files changed +10
-8
lines changed Expand file tree Collapse file tree 3 files changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -50,6 +50,7 @@ require (
50
50
51
51
require (
52
52
github.com/babylonchain/covenant-signer v0.1.2
53
+ github.com/babylonchain/networks/parameters v0.2.0
53
54
github.com/btcsuite/btcd/chaincfg/chainhash v1.1.0
54
55
github.com/btcsuite/btcwallet/wallet/txauthor v1.3.4
55
56
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.2.0
@@ -91,7 +92,6 @@ require (
91
92
github.com/aead/siphash v1.0.1 // indirect
92
93
github.com/andybalholm/brotli v1.0.5 // indirect
93
94
github.com/aws/aws-sdk-go v1.44.312 // indirect
94
- github.com/babylonchain/networks/parameters v0.2.0 // indirect
95
95
github.com/beorn7/perks v1.0.1 // indirect
96
96
github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d // indirect
97
97
github.com/bgentry/speakeasy v0.1.1-0.20220910012023-760eaf8b6816 // indirect
@@ -327,4 +327,4 @@ require (
327
327
sigs.k8s.io/yaml v1.4.0 // indirect
328
328
)
329
329
330
- replace github.com/babylonchain/covenant-signer => github.com/babylonchain/covenant-signer v0.1.2
330
+ replace github.com/babylonchain/covenant-signer => github.com/babylonchain/covenant-signer-private v0.2.0
Original file line number Diff line number Diff line change @@ -279,8 +279,8 @@ github.com/aws/aws-sdk-go v1.44.312/go.mod h1:aVsgQcEevwlmQ7qHE9I3h+dtQgpqhFB+i8
279
279
github.com/aws/aws-sdk-go-v2 v0.18.0 /go.mod h1:JWVYvqSMppoMJC0x5wdwiImzgXTI9FuZwxzkQq9wy+g =
280
280
github.com/babylonchain/babylon v0.8.6-0.20240426101001-7778c798e236 h1:Ydna4VcP56xu1+zdgygqHdSCeMduZjuznVhr4exO5do =
281
281
github.com/babylonchain/babylon v0.8.6-0.20240426101001-7778c798e236 /go.mod h1:lfeASLNJgcUsX7LEns3HRUv0k+MjzcB2q2AMasfz38M =
282
- github.com/babylonchain/covenant-signer v0.1.2 h1:MaiMG2Rouw+wsA4PhWUtx9/WCYh0Y9r1rMENvzYs8zY =
283
- github.com/babylonchain/covenant-signer v0.1.2 /go.mod h1:alX7NoDE2m7gW4O17hLAsluU30P0XaP5RlThAco8Y9Q =
282
+ github.com/babylonchain/covenant-signer-private v0.2.0 h1:/Z6o9KLDSSHz0A3M/bUKzTjSr7pKX6cIG36tRE/4UzQ =
283
+ github.com/babylonchain/covenant-signer-private v0.2.0 /go.mod h1:eJOoz//rsRCCrAhop+/EqXcnsEgPEy+T8LO7ak6dBHo =
284
284
github.com/babylonchain/networks/parameters v0.2.0 h1:f3e1MwMFm33mIKji7AgQk39aO9YIfbCbbjXtQHEQ99E =
285
285
github.com/babylonchain/networks/parameters v0.2.0 /go.mod h1:nejhvrL7Iwh5Vunvkg7pnomQZlHnyNzOY9lQaDp6tOA =
286
286
github.com/benbjohnson/clock v1.1.0 /go.mod h1:J11/hYXuz8f4ySSvYwY0FKfm+ezbsZBKZxNJlLklBHA =
Original file line number Diff line number Diff line change @@ -228,7 +228,7 @@ func StartManager(
228
228
func startSigningServer (
229
229
t * testing.T ,
230
230
magicBytes []byte ,
231
- ) (* config.RemoteSignerConfig , * signerapp .ParsedGlobalParams , * signerservice.SigningServer ) {
231
+ ) (* config.RemoteSignerConfig , * parser .ParsedGlobalParams , * signerservice.SigningServer ) {
232
232
appConfig := signercfg .DefaultConfig ()
233
233
appConfig .BtcNodeConfig .Host = "127.0.0.1:18443"
234
234
appConfig .BtcNodeConfig .User = "user"
@@ -292,8 +292,8 @@ func startSigningServer(
292
292
chainInfo := signerapp .NewBitcoindChainInfo (client )
293
293
signer := signerapp .NewPsbtSigner (client )
294
294
295
- signerGlobalParams := signerapp .ParsedGlobalParams {
296
- Versions : []* signerapp .ParsedVersionedGlobalParams {
295
+ signerGlobalParams := parser .ParsedGlobalParams {
296
+ Versions : []* parser .ParsedVersionedGlobalParams {
297
297
{
298
298
Version : 0 ,
299
299
ActivationHeight : 0 ,
@@ -315,7 +315,9 @@ func startSigningServer(
315
315
app := signerapp .NewSignerApp (
316
316
signer ,
317
317
chainInfo ,
318
- & signerGlobalParams ,
318
+ & signerapp.VersionedParamsRetriever {
319
+ ParsedGlobalParams : & signerGlobalParams ,
320
+ },
319
321
netParams ,
320
322
)
321
323
You can’t perform that action at this time.
0 commit comments