File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -36,12 +36,12 @@ func (c Chain) Bitcoin() Bitcoin {
36
36
panic ("invalid network" )
37
37
}
38
38
39
- if err := figure .Out (& chain .Receivers ).FromInterface (c .BridgeAddresses ).With (btcClientHook ).Please (); err != nil {
40
- panic (errors .Wrap (err , "failed to decode bitcoin receivers" ))
41
- }
42
- if err := figure .Out (& chain .Rpc ).FromInterface (c .Rpc ).With (bitcoinAddrHook (chain .Params )).Please (); err != nil {
39
+ if err := figure .Out (& chain .Rpc ).FromInterface (c .Rpc ).With (btcClientHook ).Please (); err != nil {
43
40
panic (errors .Wrap (err , "failed to init bitcoin chain rpc" ))
44
41
}
42
+ if err := figure .Out (& chain .Receivers ).FromInterface (c .BridgeAddresses ).With (bitcoinAddrHook (chain .Params )).Please (); err != nil {
43
+ panic (errors .Wrap (err , "failed to decode bitcoin receivers" ))
44
+ }
45
45
46
46
// ensuring wallet is properly configured
47
47
_ , err := chain .Rpc .Wallet .GetWalletInfo ()
You can’t perform that action at this time.
0 commit comments