Merge pull request #3231 from AlphaWallet/fix-make-sure-when-user-all-funds-erc1155-works

Make sure that when user chooses to transfer all funds, ERC1155 token IDs are preserved (not sure if this will ever matter)
pull/3232/head
Hwee-Boon Yar 3 years ago committed by GitHub
commit 2807b74bce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      AlphaWallet/Transfer/Controllers/TransactionConfigurator.swift

@ -132,7 +132,7 @@ class TransactionConfigurator {
func updateTransaction(value: BigInt) {
let tx = self.transaction
self.transaction = .init(transactionType: tx.transactionType, value: value, recipient: tx.recipient, contract: tx.contract, data: tx.data, tokenId: tx.tokenId, indices: tx.indices, gasLimit: tx.gasLimit, gasPrice: tx.gasPrice, nonce: tx.nonce)
self.transaction = .init(transactionType: tx.transactionType, value: value, recipient: tx.recipient, contract: tx.contract, data: tx.data, tokenId: tx.tokenId, tokenIdsAndValues: tx.tokenIdsAndValues, indices: tx.indices, gasLimit: tx.gasLimit, gasPrice: tx.gasPrice, nonce: tx.nonce)
}
private func estimateGasLimit() {

Loading…
Cancel
Save