From 52e27d3bbc0b15e3c38a55f7f01317863a9354a8 Mon Sep 17 00:00:00 2001 From: 0xZensh Date: Mon, 28 Aug 2023 20:27:44 +0800 Subject: [PATCH] Fix award request. --- src/bll/walletbase.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bll/walletbase.go b/src/bll/walletbase.go index bd05737..b7e5b5a 100644 --- a/src/bll/walletbase.go +++ b/src/bll/walletbase.go @@ -16,7 +16,7 @@ type Walletbase struct { type AwardInput struct { Payee util.ID `json:"payee" cbor:"payee"` Amount int64 `json:"amount" cbor:"amount"` - Credits *uint64 `json:"credits" cbor:"credits"` + Credits uint64 `json:"credits" cbor:"credits"` Description string `json:"description,omitempty" cbor:"description,omitempty"` Payload util.Bytes `json:"payload,omitempty" cbor:"payload,omitempty"` }