Skip to content

Commit

Permalink
update style
Browse files Browse the repository at this point in the history
  • Loading branch information
John Wang committed Sep 28, 2016
1 parent 486f86c commit 47f5b13
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/base58_gmp.rb
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ def self.from_to(base58, from_alphabet, to_alphabet)
from_digits = alphabet_digits from_alphabet
to_digits = alphabet_digits to_alphabet

from_digits != to_digits ?
base58.tr(from_digits, to_digits) :
base58
from_digits != to_digits \
? base58.tr(from_digits, to_digits) \
: base58
end

def self.normalize_alphabet(alphabet)
Expand Down

0 comments on commit 47f5b13

Please sign in to comment.