reduce amount to avoid dust

This commit is contained in:
Niko Storni 2019-09-27 20:17:49 +02:00
parent 5b9846bcca
commit c7272e988a

View file

@ -148,7 +148,7 @@ func transferChannel(s *Sync) error {
return nil
}
updateOptions := jsonrpc.ChannelUpdateOptions{
Bid: util.PtrToString(fmt.Sprintf("%.6f", channelClaimAmount-0.001)),
Bid: util.PtrToString(fmt.Sprintf("%.6f", channelClaimAmount-0.002)),
ChannelCreateOptions: jsonrpc.ChannelCreateOptions{
ClaimCreateOptions: jsonrpc.ClaimCreateOptions{
ClaimAddress: &s.publishAddress,