Fix token transfer fee parse
This commit is contained in:
parent
9d9ac53fcd
commit
fc516469dc
@ -41,7 +41,7 @@ class TokensController < ApplicationController
|
||||
end
|
||||
else
|
||||
@token.standard = :icrc1
|
||||
@token.transfer_fee = metadata.lines[2].split[5].to_i
|
||||
@token.transfer_fee = metadata.lines[2].split[7].to_i
|
||||
@token.decimals = metadata.lines[5].split[7].to_i
|
||||
@token.logo_url = metadata.lines[9].split[2]
|
||||
@token.name = metadata.lines[3].split("\"")[3]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user