Skip to content

Commit 089e7f2

Browse files
committed
fix: remove dip18 mentions
1 parent bb330d1 commit 089e7f2

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

key-wallet-ffi/include/key_wallet_ffi.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ typedef enum {
9393
DASHPAY_RECEIVING_FUNDS = 11,
9494
DASHPAY_EXTERNAL_ACCOUNT = 12,
9595
/*
96-
Platform Payment address (DIP17/DIP18) - Path: m/9'/5'/17'/account'/key_class'/index
96+
Platform Payment address (DIP-17) - Path: m/9'/5'/17'/account'/key_class'/index
9797
*/
9898
PLATFORM_PAYMENT = 13,
9999
} FFIAccountType;

key-wallet-ffi/src/transaction_checking.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,7 @@ pub unsafe extern "C" fn managed_wallet_check_transaction(
461461
..
462462
} => {
463463
// Note: Platform Payment addresses are NOT used in Core chain transactions
464-
// per DIP17/DIP18. This branch should never be reached in practice.
464+
// per DIP-17. This branch should never be reached in practice.
465465
let ffi_match = FFIAccountMatch {
466466
account_type: 13, // PlatformPayment
467467
account_index: *account_index,

key-wallet-ffi/src/types.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ pub enum FFIAccountType {
266266
ProviderPlatformKeys = 10,
267267
DashpayReceivingFunds = 11,
268268
DashpayExternalAccount = 12,
269-
/// Platform Payment address (DIP17/DIP18) - Path: m/9'/5'/17'/account'/key_class'/index
269+
/// Platform Payment address (DIP-17) - Path: m/9'/5'/17'/account'/key_class'/index
270270
PlatformPayment = 13,
271271
}
272272

key-wallet/src/transaction_checking/account_checker.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ pub enum AccountTypeMatch {
103103
account_index: u32,
104104
involved_addresses: Vec<AddressInfo>,
105105
},
106-
/// Platform Payment account (DIP17/DIP18)
106+
/// Platform Payment account (DIP-17)
107107
/// Note: Platform addresses are NOT used in Core chain transactions
108108
PlatformPayment {
109109
account_index: u32,
@@ -385,7 +385,7 @@ impl ManagedAccountCollection {
385385
matches
386386
}
387387
AccountTypeToCheck::PlatformPayment => {
388-
// Platform Payment addresses (DIP17/DIP18) are NOT used in Core chain transactions.
388+
// Platform Payment addresses (DIP-17) are NOT used in Core chain transactions.
389389
// They are only for Platform-side payments. This account type should never match
390390
// any Core chain transaction by design.
391391
Vec::new()

key-wallet/src/transaction_checking/wallet_checker.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ impl WalletTransactionChecker for ManagedWalletInfo {
145145
..
146146
} => {
147147
// Platform Payment addresses are NOT used in Core chain transactions.
148-
// This branch should never be reached by design (per DIP17/DIP18).
148+
// This branch should never be reached by design (per DIP-17).
149149
None
150150
}
151151
};

0 commit comments

Comments
 (0)