Skip to content

Commit

Permalink
Merge pull request #1443 from shubhamkmr04/shubham/time_lock_delta-fix
Browse files Browse the repository at this point in the history
SetFees: Use local value of timeLockDelta
  • Loading branch information
kaloudis committed Apr 21, 2023
2 parents d691052 + 80abaff commit 6426042
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 2 additions & 0 deletions views/Channels/Channel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ export default class ChannelView extends React.Component<
<View style={{ top: -3 }}>
<Edit
onPress={() => navigation.navigate('SetFees', { channel })}
fill={themeColor('text')}
/>
</View>
);
Expand All @@ -189,6 +190,7 @@ export default class ChannelView extends React.Component<
isValid: true
})
}
fill={themeColor('text')}
/>
);

Expand Down
4 changes: 1 addition & 3 deletions views/Routing/SetFees.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,7 @@ export default class SetFees extends React.PureComponent<SetFeesProps, {}> {
feeRate={`${
Number(policy.fee_rate_milli_msat) / 10000
}`}
timeLockDelta={chanInfo[
channelId
].node1Policy.time_lock_delta.toString()}
timeLockDelta={policy.time_lock_delta.toString()}
minHtlc={`${Number(policy.min_htlc) / 1000}`}
maxHtlc={`${Number(policy.max_htlc_msat) / 1000}`}
channelPoint={channelPoint}
Expand Down

0 comments on commit 6426042

Please sign in to comment.