mirror of
https://github.com/logos-blockchain/logos-execution-zone-module.git
synced 2026-07-08 19:49:26 +00:00
18 lines
544 B
C++
18 lines
544 B
C++
#ifndef MOCK_WALLET_FFI_CAPTURE_H
|
|
#define MOCK_WALLET_FFI_CAPTURE_H
|
|
|
|
// LogosCMockStore (logos_clib_mock.h) only lets tests control return values, not
|
|
// inspect call arguments. The transfer_shielded/transfer_private identifier logic
|
|
// needs the latter, so capture the relevant args here in plain static storage.
|
|
|
|
#include <cstdint>
|
|
|
|
namespace MockWalletFfiCapture {
|
|
|
|
extern uint8_t lastTransferShieldedIdentifier[16];
|
|
extern uint8_t lastTransferPrivateIdentifier[16];
|
|
|
|
} // namespace MockWalletFfiCapture
|
|
|
|
#endif // MOCK_WALLET_FFI_CAPTURE_H
|