"Bad change output when calling litecoin 'fundrawtransaction' rpc"
Explanation:
Decred atomic swaps is using "legacy" litecoin addresses but the default is not "legacy" for change outputs unless set with litecoind ... -addresstype / -changetype. If not then the changetype for the call to RPC "fundrawtransaction" should be explicitly set.
litecoind:
Wallet options:
-addresstype
What type of addresses to use ("legacy", "p2sh-segwit", or "bech32", default: "p2sh-segwit")
-changetype
What type of change to use ("legacy", "p2sh-segwit", or "bech32").
Default is same as -addresstype, except when -addresstype=p2sh-segwit a native segwit output is used when sending to a native segwit address)
"Bad change output when calling litecoin 'fundrawtransaction' rpc"
Explanation: Decred atomic swaps is using "legacy" litecoin addresses but the default is not "legacy" for change outputs unless set with litecoind ... -addresstype / -changetype. If not then the changetype for the call to RPC "fundrawtransaction" should be explicitly set.
litecoind:
Wallet options:
-addresstype What type of addresses to use ("legacy", "p2sh-segwit", or "bech32", default: "p2sh-segwit")
-changetype What type of change to use ("legacy", "p2sh-segwit", or "bech32"). Default is same as -addresstype, except when -addresstype=p2sh-segwit a native segwit output is used when sending to a native segwit address)