fix: adjust FFI buffer

This commit is contained in:
Rene Vergara 2024-10-30 11:15:34 -05:00
parent a8d4a96b8a
commit b3ec3aecbd
Signed by: pitmutt
GPG key ID: 65122AD495A7F5B2

View file

@ -135,7 +135,8 @@ createTransaction ::
-> IO (Either TxError HexString) -> IO (Either TxError HexString)
createTransaction sapAnchor orchAnchor tSpend sSpend oSpend outgoing znet bh build = do createTransaction sapAnchor orchAnchor tSpend sSpend oSpend outgoing znet bh build = do
txResult <- txResult <-
withBorshBufferOfInitSize 10240 $ do print "calling FFI"
withBorshBufferOfInitSize 51200 $
rustWrapperCreateTx rustWrapperCreateTx
(case sapAnchor of (case sapAnchor of
Nothing -> "0" Nothing -> "0"