Skip to content

Commit

Permalink
Remove double spaces (#2802)
Browse files Browse the repository at this point in the history
  • Loading branch information
StephenButtolph authored Mar 1, 2024
1 parent 257912c commit f546ca4
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion nat/upnp.go
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ func getUPnPClient(client goupnp.ServiceClient) upnpClient {
}
}

// discover() tries to find gateway device
// discover() tries to find gateway device
func discover(target string) *upnpRouter {
devs, err := goupnp.DiscoverDevices(target)
if err != nil {
Expand Down
2 changes: 1 addition & 1 deletion vms/avm/fxs/fx.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ type Fx interface {
// VerifyOperation verifies that the specified transaction can spend the
// provided utxos conditioned on the result being restricted to the provided
// outputs. If the transaction can't spend the output based on the input and
// credential, a non-nil error should be returned.
// credential, a non-nil error should be returned.
VerifyOperation(tx, op, cred interface{}, utxos []interface{}) error
}

Expand Down
2 changes: 1 addition & 1 deletion vms/platformvm/state/state_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ func TestPersistStakers(t *testing.T) {
r.ErrorIs(err, database.ErrNotFound)
},
checkDiffs: func(r *require.Assertions, s *state, staker *Staker, height uint64) {
// pending validators weight diff and bls diffs are not stored
// pending validators weight diff and bls diffs are not stored
_, err := s.flatValidatorWeightDiffsDB.Get(marshalDiffKey(staker.SubnetID, height, staker.NodeID))
r.ErrorIs(err, database.ErrNotFound)

Expand Down
2 changes: 1 addition & 1 deletion wallet/chain/p/builder_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -663,7 +663,7 @@ func makeTestUTXOs(utxosKey *secp256k1.PrivateKey) []*avax.UTXO {

utxosAddr := utxosKey.Address()
return []*avax.UTXO{
{ // a small UTXO first, which should not be enough to pay fees
{ // a small UTXO first, which should not be enough to pay fees
UTXOID: avax.UTXOID{
TxID: ids.Empty.Prefix(utxosOffset),
OutputIndex: uint32(utxosOffset),
Expand Down
2 changes: 1 addition & 1 deletion wallet/chain/x/builder_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@ func makeTestUTXOs(utxosKey *secp256k1.PrivateKey) []*avax.UTXO {
const utxosOffset uint64 = 2024

return []*avax.UTXO{ // currently, the wallet scans UTXOs in the order provided here
{ // a small UTXO first, which should not be enough to pay fees
{ // a small UTXO first, which should not be enough to pay fees
UTXOID: avax.UTXOID{
TxID: ids.Empty.Prefix(utxosOffset),
OutputIndex: uint32(utxosOffset),
Expand Down

0 comments on commit f546ca4

Please sign in to comment.