Skip to content

Commit

Permalink
Merge 95d859b into 0ec4bb1
Browse files Browse the repository at this point in the history
  • Loading branch information
javierjulio committed Aug 1, 2016
2 parents 0ec4bb1 + 95d859b commit 25a52e1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions config/constants.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
#

APIURI = ENV['BITPAYAPI']
PEM = ENV['BITPAYPEM'] || "-----BEGIN EC PRIVATE KEY-----\nMHQCAQEEICg7E4NN53YkaWuAwpoqjfAofjzKI7Jq1f532dX+0O6QoAcGBSuBBAAK\noUQDQgAEjZcNa6Kdz6GQwXcUD9iJ+t1tJZCx7hpqBuJV2/IrQBfue8jh8H7Q/4vX\nfAArmNMaGotTpjdnymWlMfszzXJhlw==\n-----END EC PRIVATE KEY-----\n"

# Specify a bitpay txid which has 6+ confirmations. Default belongs to 'bitpayrubyclient@gmail.com' test account
REFUND_TRANSACTION = ENV['REFUND_TRANSACTION']
Expand Down
2 changes: 1 addition & 1 deletion features/step_definitions/step_helpers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ module BitPay
end

def new_client_from_stored_values
pem = ENV['BITPAYPEM'].gsub("\\n", "\n")
pem = PEM.gsub("\\n", "\n")
BitPay::SDK::Client.new(api_uri: APIURI, pem: pem, insecure: true)
end

Expand Down

0 comments on commit 25a52e1

Please sign in to comment.