Skip to content

Commit

Permalink
ltc: Use legacy change address
Browse files Browse the repository at this point in the history
  • Loading branch information
devwarrior-cool authored and jrick committed Mar 22, 2019
1 parent 38a6ae1 commit 4447adf
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions cmd/ltcatomicswap/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -415,9 +415,11 @@ func fundRawTransaction(c *rpc.Client, tx *wire.MsgTx, feePerKb ltcutil.Amount)
return nil, 0, err
}
param1, err := json.Marshal(struct {
FeeRate float64 `json:"feeRate"`
FeeRate float64 `json:"feeRate"`
ChangeType string `json:"change_type"`
}{
FeeRate: feePerKb.ToBTC(),
FeeRate: feePerKb.ToBTC(),
ChangeType: "legacy",
})
if err != nil {
return nil, 0, err
Expand Down

0 comments on commit 4447adf

Please sign in to comment.