arweave-go icon indicating copy to clipboard operation
arweave-go copied to clipboard

(tx_too_cheap)GetReward need add to address judgment

Open Sayplaydiv opened this issue 4 years ago • 1 comments

// GetReward requests the current network reward func (c *Client) GetReward(ctx context.Context, data []byte,address string) (string, error) { body, err := c.get(ctx, fmt.Sprintf("price/%d/%v", len(data),address)) if err != nil { return "", err } return string(body), nil

}

Sayplaydiv avatar Jun 15 '20 04:06 Sayplaydiv

Maybe you need to update go SDK, which only applies to the activated address. If it is not activated, the transfer will fail

Sayplaydiv avatar Jun 15 '20 04:06 Sayplaydiv