@onekeyfe/hd-core
Advanced tools
Comparing version 1.0.10-alpha.4 to 1.0.10-alpha.5
{ | ||
"name": "@onekeyfe/hd-core", | ||
"version": "1.0.10-alpha.4", | ||
"version": "1.0.10-alpha.5", | ||
"description": "> TODO: description", | ||
@@ -28,4 +28,4 @@ "author": "OneKey", | ||
"dependencies": { | ||
"@onekeyfe/hd-shared": "^1.0.10-alpha.4", | ||
"@onekeyfe/hd-transport": "^1.0.10-alpha.4", | ||
"@onekeyfe/hd-shared": "^1.0.10-alpha.5", | ||
"@onekeyfe/hd-transport": "^1.0.10-alpha.5", | ||
"axios": "^0.27.2", | ||
@@ -48,3 +48,3 @@ "bignumber.js": "^9.0.2", | ||
}, | ||
"gitHead": "3beffbdbceedd7438943a9e01e1e63865ba63d9a" | ||
"gitHead": "998cdc841ffb5a3db387b30df67bba52fb9891d4" | ||
} |
@@ -9,3 +9,3 @@ import { ScdoSignTx as HardwareScdoSignTx, TypedCall, ScdoSignedTx } from '@onekeyfe/hd-transport'; | ||
import type { TypedResponseMessage } from '../../device/DeviceCommands'; | ||
import { stripHexStartZeroes } from '../helpers/hexUtils'; | ||
import { formatAnyHex } from '../helpers/hexUtils'; | ||
@@ -38,8 +38,8 @@ export default class ScdoSignTransaction extends BaseMethod<HardwareScdoSignTx> { | ||
address_n: addressN, | ||
nonce: stripHexStartZeroes(nonce), | ||
gas_price: stripHexStartZeroes(gasPrice), | ||
gas_limit: stripHexStartZeroes(gasLimit), | ||
nonce: formatAnyHex(nonce), | ||
gas_price: formatAnyHex(gasPrice), | ||
gas_limit: formatAnyHex(gasLimit), | ||
to, | ||
value: stripHexStartZeroes(value), | ||
timestamp: timestamp ? stripHexStartZeroes(timestamp) : undefined, | ||
value: formatAnyHex(value), | ||
timestamp: timestamp ? formatAnyHex(timestamp) : undefined, | ||
tx_type: txType, | ||
@@ -46,0 +46,0 @@ }; |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2884509