Skip to content

Commit

Permalink
fix address missing dust
Browse files Browse the repository at this point in the history
  • Loading branch information
crossle committed Oct 28, 2022
1 parent 55bc2f8 commit c76908b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion address.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ type Address struct {
Tag string `json:"tag"`
Fee string `json:"fee"`
Reserve string `json:"reserve"`
Dust string `json:"dust"`
UpdatedAt string `json:"updated_at"`
}

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

var resp struct {
Data *Address `json:"data"`
Error Error `json:"error"`
Error Error `json:"error"`
}
err = json.Unmarshal(body, &resp)
if err != nil {
Expand Down

0 comments on commit c76908b

Please sign in to comment.