Skip to content

Commit

Permalink
Merge branch '2.0' into chore/tests/block-id
Browse files Browse the repository at this point in the history
  • Loading branch information
thibault-martinez authored Jan 29, 2024
2 parents 88c4de3 + 28f8c67 commit 1e92843
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 16 deletions.
15 changes: 1 addition & 14 deletions bindings/nodejs/lib/types/wallet/transaction-options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,20 +30,7 @@ export interface TransactionOptions {
}

/** The possible remainder value strategies. */
export type RemainderValueStrategy =
| ChangeAddress
| ReuseAddress
| CustomAddress;

/**
* Allows to move the remainder value to a change address.
*/
export type ChangeAddress = {
/** The name of the strategy. */
strategy: 'ChangeAddress';
/** Only required for `CustomAddress`. */
value: null;
};
export type RemainderValueStrategy = ReuseAddress | CustomAddress;

/**
* Allows to keep the remainder value on the source address.
Expand Down
2 changes: 0 additions & 2 deletions bindings/python/iota_sdk/types/transaction_options.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,8 @@ class RemainderValueStrategy(Enum):
"""Remainder value strategy variants.
Attributes:
ChangeAddress: Allows to move the remainder value to a change address.
ReuseAddress: Allows to keep the remainder value on the source address.
"""
ChangeAddress = None
ReuseAddress = None

def to_dict(self) -> dict:
Expand Down

0 comments on commit 1e92843

Please sign in to comment.