Skip to content

Commit

Permalink
fix: wrong dep_type value
Browse files Browse the repository at this point in the history
  • Loading branch information
shaojunda committed Sep 3, 2019
1 parent d69ebf2 commit 51d5f95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ckb/serializers/dep_type_serializer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def layout
end

def body
dep_type == "data" ? "00" : "01"
dep_type == "code" ? "00" : "01"
end
end
end
Expand Down

0 comments on commit 51d5f95

Please sign in to comment.