Functions to handle commitment tree nodes for Sapling and Orchard #100
1 changed files with 16 additions and 15 deletions
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue