Skip to content

Commit

Permalink
fix for deploy account
Browse files Browse the repository at this point in the history
  • Loading branch information
joshklop committed Nov 23, 2023
1 parent 312b838 commit dbf939f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion vm/transaction.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ func marshalTxn(txn core.Transaction) (json.RawMessage, error) {
"V" + t.Version.Text(felt.Base10): t,
}
case *core.DeployAccountTransaction:
txnAndQueryBit.Txn["DeployAccount"] = t
txnAndQueryBit.Txn["DeployAccount"] = map[string]any{
"V" + t.Version.Text(felt.Base10): t,
}
case *core.DeclareTransaction:
txnAndQueryBit.Txn["Declare"] = map[string]any{
"V" + t.Version.Text(felt.Base10): t,
Expand Down

0 comments on commit dbf939f

Please sign in to comment.