Skip to content

Commit a94e3dd

Browse files
chumaknadyaCamille
authored andcommitted
Feature: Add rejected state to peatio transaction
1 parent ab0ca7e commit a94e3dd

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

lib/peatio/transaction.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,10 @@ class Transaction
4040
# the transaction amount has been successfully transferred
4141
#
4242
# failed - the transaction is failed in the blockchain.
43+
#
44+
# rejected - the transaction is rejected by user.
4345

44-
STATUSES = %w[success pending failed].freeze
46+
STATUSES = %w[success pending failed rejected].freeze
4547

4648
DEFAULT_STATUS = 'pending'.freeze
4749

lib/peatio/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module Peatio
2-
VERSION = "2.6.2"
2+
VERSION = "2.6.3"
33
end

0 commit comments

Comments
 (0)