Skip to content

Commit

Permalink
substrate: Use latest transaction version when signing extrinsic
Browse files Browse the repository at this point in the history
  • Loading branch information
cdamian committed Sep 11, 2023
1 parent c6313aa commit c1f5d47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chains/substrate/connection.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ func (c *Connection) SubmitTx(method utils.Method, args ...interface{}) error {
Nonce: types.NewUCompactFromUInt(uint64(c.nonce)),
SpecVersion: rv.SpecVersion,
Tip: types.NewUCompactFromUInt(0),
TransactionVersion: 1,
TransactionVersion: rv.TransactionVersion,
}

err = ext.Sign(*c.key, o)
Expand Down

0 comments on commit c1f5d47

Please sign in to comment.