From 7862536c053458cd8906530ac696059bdaec3061 Mon Sep 17 00:00:00 2001 From: Supun Setunga Date: Mon, 16 Sep 2024 12:23:30 -0700 Subject: [PATCH] Fix runtime type of Account_Inbox_claim() function --- runtime/stdlib/account.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/stdlib/account.go b/runtime/stdlib/account.go index b90f53b94c..493b2da4c5 100644 --- a/runtime/stdlib/account.go +++ b/runtime/stdlib/account.go @@ -1100,7 +1100,7 @@ func newAccountInboxClaimFunction( return interpreter.NewBoundHostFunctionValue( inter, accountInbox, - sema.Account_InboxTypePublishFunctionType, + sema.Account_InboxTypeClaimFunctionType, func(invocation interpreter.Invocation) interpreter.Value { nameValue, ok := invocation.Arguments[0].(*interpreter.StringValue) if !ok {