We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ef34d84 + e0a4d73 commit e32b4daCopy full SHA for e32b4da
gelements/elementsd.go
@@ -101,7 +101,7 @@ func (e *Elements) StartUp(host string, port uint) error {
101
// Blocking!
102
func (b *Elements) request(m jrpc2.Method, resp interface{}) error {
103
id := b.NextId()
104
- mr := &jrpc2.Request{id, m}
+ mr := &jrpc2.Request{Id: id, Method: m}
105
jbytes, err := json.Marshal(mr)
106
if err != nil {
107
return err
@@ -354,10 +354,11 @@ const (
354
Bech32 AddrType = iota
355
P2shSegwit
356
Legacy
357
+ Blech32
358
)
359
360
func (a AddrType) String() string {
- return []string{"bech32", "p2sh-segwit", "legacy"}[a]
361
+ return []string{"bech32", "p2sh-segwit", "legacy", "blech32"}[a]
362
}
363
364
func (r *GetNewAddressRequest) Name() string {
0 commit comments