Skip to content

Commit

Permalink
fix: sync fiber graph channles
Browse files Browse the repository at this point in the history
  • Loading branch information
rabbitz committed Jan 13, 2025
1 parent fb65659 commit 2847f50
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/workers/fiber_graph_detect_worker.rb
Original file line number Diff line number Diff line change
Expand Up @@ -102,10 +102,10 @@ def build_channel_attributes(channel)
node1: channel["node1"],
node2: channel["node2"],
created_timestamp: channel["created_timestamp"],
last_updated_timestamp_of_node1: channel["last_updated_timestamp_of_node1"].to_i(16),
last_updated_timestamp_of_node2: channel["last_updated_timestamp_of_node2"].to_i(16),
fee_rate_of_node1: channel["fee_rate_of_node1"].to_i(16),
fee_rate_of_node2: channel["fee_rate_of_node2"].to_i(16),
last_updated_timestamp_of_node1: channel["last_updated_timestamp_of_node1"]&.to_i(16),
last_updated_timestamp_of_node2: channel["last_updated_timestamp_of_node2"]&.to_i(16),
fee_rate_of_node1: channel["fee_rate_of_node1"]&.to_i(16),
fee_rate_of_node2: channel["fee_rate_of_node2"]&.to_i(16),
capacity: channel["capacity"].to_i(16),
chain_hash: channel["chain_hash"],
open_transaction_id: open_transaction&.id,
Expand Down

0 comments on commit 2847f50

Please sign in to comment.