We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
begin
1 parent 3b63c65 commit 7716317Copy full SHA for 7716317
stackslib/src/chainstate/stacks/boot/sip-031.clar
@@ -58,16 +58,14 @@
58
;; Returns `true` if the recipient was updated.
59
(define-public (update-recipient (new-recipient principal))
60
(begin
61
- (begin
62
- (try! (validate-caller))
63
- (print {
64
- topic: "update-recipient",
65
- old-recipient: (var-get recipient),
66
- new-recipient: new-recipient,
67
- })
68
- (var-set recipient new-recipient)
69
- (ok true)
70
- )
+ (try! (validate-caller))
+ (print {
+ topic: "update-recipient",
+ old-recipient: (var-get recipient),
+ new-recipient: new-recipient,
+ })
+ (var-set recipient new-recipient)
+ (ok true)
71
)
72
73
0 commit comments