Closed StanislavSava closed 2 years ago
Describe the bug It looks like EthereumSigningInput does not have the property "amount" exposed and cannot be properly instantiated.
To Reproduce Steps to reproduce the behavior:
Try to instantiate EthereumSigningInput with the amount property:
let input = EthereumSigningInput.with { $0.amount = amountData! }
Expected behavior One should be able to pass in the amount, just like in the docs: https://developer.trustwallet.com/wallet-core/integration-guide/wallet-core-usage#ethereum-transaction-signing
Screenshots
Additional context Using WalletCore 2.7.1 installed via the package manager for XCode
Thanks for the report, the document is a bit updated, will update it soon
Describe the bug It looks like EthereumSigningInput does not have the property "amount" exposed and cannot be properly instantiated.
To Reproduce Steps to reproduce the behavior:
Try to instantiate EthereumSigningInput with the amount property:
Expected behavior One should be able to pass in the amount, just like in the docs: https://developer.trustwallet.com/wallet-core/integration-guide/wallet-core-usage#ethereum-transaction-signing
Screenshots
Additional context Using WalletCore 2.7.1 installed via the package manager for XCode