Skip to content

Commit ab6a67e

Browse files
committed
covert to upgrade
Signed-off-by: Angelo De Caro <adc@zurich.ibm.com>
1 parent 1a51a79 commit ab6a67e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

token/request.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ func (r *Request) Redeem(ctx context.Context, wallet *OwnerWallet, typ token.Typ
380380
return nil
381381
}
382382

383-
func (r *Request) Convert(
383+
func (r *Request) Upgrade(
384384
ctx context.Context,
385385
wallet *IssuerWallet,
386386
receiver Identity,

token/services/ttx/transaction.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ func (t *Transaction) Upgrade(
232232
proof []byte,
233233
opts ...token.IssueOption,
234234
) error {
235-
_, err := t.TokenRequest.Convert(t.Context, wallet, receiver, tokens, proof, opts...)
235+
_, err := t.TokenRequest.Upgrade(t.Context, wallet, receiver, tokens, proof, opts...)
236236
return err
237237
}
238238

0 commit comments

Comments
 (0)