fix_: crash sending collectibles fixed
When mapping `MultipathProcessorTxArgs` to `ProcessorInputParams` setting `FromChain` was missed.
This commit is contained in:
parent
97f4c6e3df
commit
2f08c4c6f9
|
@ -16,6 +16,7 @@ import (
|
||||||
"github.com/status-im/status-go/contracts/community-tokens/collectibles"
|
"github.com/status-im/status-go/contracts/community-tokens/collectibles"
|
||||||
"github.com/status-im/status-go/contracts/erc721"
|
"github.com/status-im/status-go/contracts/erc721"
|
||||||
"github.com/status-im/status-go/eth-node/types"
|
"github.com/status-im/status-go/eth-node/types"
|
||||||
|
"github.com/status-im/status-go/params"
|
||||||
"github.com/status-im/status-go/rpc"
|
"github.com/status-im/status-go/rpc"
|
||||||
"github.com/status-im/status-go/services/wallet/token"
|
"github.com/status-im/status-go/services/wallet/token"
|
||||||
"github.com/status-im/status-go/transactions"
|
"github.com/status-im/status-go/transactions"
|
||||||
|
@ -150,6 +151,9 @@ func (s *ERC721Processor) sendOrBuild(sendArgs *MultipathProcessorTxArgs, signer
|
||||||
|
|
||||||
useSafeTransferFrom := true
|
useSafeTransferFrom := true
|
||||||
inputParams := ProcessorInputParams{
|
inputParams := ProcessorInputParams{
|
||||||
|
FromChain: ¶ms.Network{
|
||||||
|
ChainID: sendArgs.ChainID,
|
||||||
|
},
|
||||||
FromAddr: from,
|
FromAddr: from,
|
||||||
ToAddr: sendArgs.ERC721TransferTx.Recipient,
|
ToAddr: sendArgs.ERC721TransferTx.Recipient,
|
||||||
FromToken: &token.Token{
|
FromToken: &token.Token{
|
||||||
|
|
Loading…
Reference in New Issue