File tree 1 file changed +7
-0
lines changed
1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ package firmware
17
17
import (
18
18
"github.com/BitBoxSwiss/bitbox02-api-go/api/firmware/messages"
19
19
"github.com/BitBoxSwiss/bitbox02-api-go/util/errp"
20
+ "github.com/BitBoxSwiss/bitbox02-api-go/util/semver"
20
21
)
21
22
22
23
// queryCardano is like query, but nested one level deeper for Cardano.
@@ -92,6 +93,12 @@ func (device *Device) CardanoAddress(
92
93
func (device * Device ) CardanoSignTransaction (
93
94
transaction * messages.CardanoSignTransactionRequest ,
94
95
) (* messages.CardanoSignTransactionResponse , error ) {
96
+ if transaction .TagCborSets {
97
+ if ! device .version .AtLeast (semver .NewSemVer (9 , 22 , 0 )) {
98
+ return nil , UnsupportedError ("9.22.0" )
99
+ }
100
+ }
101
+
95
102
request := & messages.CardanoRequest {
96
103
Request : & messages.CardanoRequest_SignTransaction {
97
104
SignTransaction : transaction ,
You can’t perform that action at this time.
0 commit comments