Skip to content

Commit

Permalink
usbdevice: Fix compile on osx.
Browse files Browse the repository at this point in the history
  • Loading branch information
tecnovert committed Aug 7, 2021
1 parent c99c298 commit 2aa2ce5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/usbdevice/trezordevice.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1163,7 +1163,7 @@ bool CTrezorDevice::HavePrevTxn(const uint256 &txid)

int CTrezorDevice::AddPrevTxn(CTransactionRef tx)
{
m_tx_cache.emplace(tx->GetHash(), *tx);
m_tx_cache[tx->GetHash()] = CMutableTransaction(*tx);
return 0;
};

Expand Down

0 comments on commit 2aa2ce5

Please sign in to comment.