From 43638725f77c5941c267c11d875e896508e022b0 Mon Sep 17 00:00:00 2001 From: Timur Ramazanov Date: Sat, 10 Dec 2022 18:46:35 +0300 Subject: [PATCH] :cop: --- base/spec/lib/stellar/transaction_envelope_spec.rb | 10 +++++----- ecosystem/lib/stellar/sep10/challenge.rb | 2 +- ecosystem/lib/stellar/sep10/challenge_tx_builder.rb | 2 +- ecosystem/spec/lib/stellar/sep10_v2_spec.rb | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/base/spec/lib/stellar/transaction_envelope_spec.rb b/base/spec/lib/stellar/transaction_envelope_spec.rb index 303c2a4c..a3964c4a 100644 --- a/base/spec/lib/stellar/transaction_envelope_spec.rb +++ b/base/spec/lib/stellar/transaction_envelope_spec.rb @@ -96,16 +96,16 @@ envelope.signed_by?(keypair) end - context 'when envelope is signed by keypair' do + context "when envelope is signed by keypair" do let(:signers) { [keypair] } - - it { is_expected.to be_truthy } + + it { is_expected.to be_truthy } end - context 'when envelope is not signed by keypair' do + context "when envelope is not signed by keypair" do let(:signers) { [] } - it { is_expected.to be_falsey } + it { is_expected.to be_falsey } end end end diff --git a/ecosystem/lib/stellar/sep10/challenge.rb b/ecosystem/lib/stellar/sep10/challenge.rb index 8ba592c9..9800e1c0 100644 --- a/ecosystem/lib/stellar/sep10/challenge.rb +++ b/ecosystem/lib/stellar/sep10/challenge.rb @@ -26,7 +26,7 @@ def self.read_xdr(xdr, server:) end def initialize(envelope:, server:) - @envelope = envelope + @envelope = envelope @tx = envelope.tx @server = server end diff --git a/ecosystem/lib/stellar/sep10/challenge_tx_builder.rb b/ecosystem/lib/stellar/sep10/challenge_tx_builder.rb index f7e76019..09d1a428 100644 --- a/ecosystem/lib/stellar/sep10/challenge_tx_builder.rb +++ b/ecosystem/lib/stellar/sep10/challenge_tx_builder.rb @@ -46,7 +46,7 @@ def time_bounds min_time: now, max_time: now + timeout ) - end + end end def main_operation diff --git a/ecosystem/spec/lib/stellar/sep10_v2_spec.rb b/ecosystem/spec/lib/stellar/sep10_v2_spec.rb index b68b61c2..39d4f9d5 100644 --- a/ecosystem/spec/lib/stellar/sep10_v2_spec.rb +++ b/ecosystem/spec/lib/stellar/sep10_v2_spec.rb @@ -17,7 +17,7 @@ let(:attrs) { {server: server, client: user, domain: domain} } subject(:challenge_tx) do - challenge = Stellar::Ecosystem::SEP10::Challenge.build(**attrs) + challenge = Stellar::Ecosystem::SEP10::Challenge.build(**attrs) challenge.to_envelope.tx end