diff options
Diffstat (limited to 'cmd/tealdbg/cdtState.go')
-rw-r--r-- | cmd/tealdbg/cdtState.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cmd/tealdbg/cdtState.go b/cmd/tealdbg/cdtState.go index 972f87938..5e7ee9825 100644 --- a/cmd/tealdbg/cdtState.go +++ b/cmd/tealdbg/cdtState.go @@ -37,7 +37,7 @@ type cdtState struct { // immutable content disassembly string proto *config.ConsensusParams - txnGroup []transactions.SignedTxn + txnGroup []transactions.SignedTxnWithAD groupIndex int globals []basics.TealValue @@ -90,7 +90,7 @@ var txnFileTypeHints = map[logic.TxnField]typeHint{ logic.FreezeAssetAccount: addressHint, } -func (s *cdtState) Init(disassembly string, proto *config.ConsensusParams, txnGroup []transactions.SignedTxn, groupIndex int, globals []basics.TealValue) { +func (s *cdtState) Init(disassembly string, proto *config.ConsensusParams, txnGroup []transactions.SignedTxnWithAD, groupIndex int, globals []basics.TealValue) { s.disassembly = disassembly s.proto = proto s.txnGroup = txnGroup @@ -460,7 +460,7 @@ func makeIntPreview(n int) (prop []cdt.RuntimePropertyPreview) { return } -func makeTxnPreview(txnGroup []transactions.SignedTxn, groupIndex int) cdt.RuntimeObjectPreview { +func makeTxnPreview(txnGroup []transactions.SignedTxnWithAD, groupIndex int) cdt.RuntimeObjectPreview { var prop []cdt.RuntimePropertyPreview if len(txnGroup) > 0 { fields := prepareTxn(&txnGroup[groupIndex].Txn, groupIndex) @@ -471,7 +471,7 @@ func makeTxnPreview(txnGroup []transactions.SignedTxn, groupIndex int) cdt.Runti return p } -func makeGtxnPreview(txnGroup []transactions.SignedTxn) cdt.RuntimeObjectPreview { +func makeGtxnPreview(txnGroup []transactions.SignedTxnWithAD) cdt.RuntimeObjectPreview { prop := makeIntPreview(len(txnGroup)) p := cdt.RuntimeObjectPreview{ Type: "object", |