Skip to content

Commit c76908b

Browse files
committed
fix address missing dust
1 parent 55bc2f8 commit c76908b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

address.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ type Address struct {
2323
Tag string `json:"tag"`
2424
Fee string `json:"fee"`
2525
Reserve string `json:"reserve"`
26+
Dust string `json:"dust"`
2627
UpdatedAt string `json:"updated_at"`
2728
}
2829

@@ -78,7 +79,7 @@ func ReadAddress(ctx context.Context, addressId, uid, sid, sessionKey string) (*
7879

7980
var resp struct {
8081
Data *Address `json:"data"`
81-
Error Error `json:"error"`
82+
Error Error `json:"error"`
8283
}
8384
err = json.Unmarshal(body, &resp)
8485
if err != nil {

0 commit comments

Comments
 (0)